Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #12751

Re: Validation in FieldSpec

From JohnMartens <martens@tennishulp.info>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Validation in FieldSpec
Date 2020-01-06 18:50 +0100
Organization A noiseless patient Spider
Message-ID <quvs0o$6t9$1@dont-email.me> (permalink)
References <94a19123-e370-491b-bce2-8d47b741463e@googlegroups.com> <dc0a8e47-95c7-46f9-96be-6e3d5cbc89e7@googlegroups.com>

Show all headers | View raw


Did you check what causes the errorbox to be called 3 times ?


Op 6-1-2020 om 18:19 schreef zodcomag@gmail.com:
> COntinue...
> If I add oControl:SetFocus()    // so the customer wilol stay on this control until it is legal
> The ErrorMessage is called twice & the focus does not realy stays on the control.
> 
> 
> It should be more logic to add the code into EditFocusChange(), because the value is checked after it is full, when maybe the first character is not legall, but after adding the second character it is legel.
> 
> When adding the code to EditFocusChange(), the ErrorBox is called 3 times.
> 
> It looks to me, that exactly for that exist the FieldSpec validation.
> 
> Thanks
> Henry
> 
> 
>     
> 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Validation in FieldSpec zodcomag@gmail.com - 2020-01-05 14:17 -0800
  Re: Validation in FieldSpec JohnMartens <martens@tennishulp.info> - 2020-01-06 06:50 +0100
    Re: Validation in FieldSpec zodcomag@gmail.com - 2020-01-06 03:40 -0800
      Re: Validation in FieldSpec JohnMartens <martens@tennishulp.info> - 2020-01-06 17:38 +0100
  Re: Validation in FieldSpec zodcomag@gmail.com - 2020-01-06 09:09 -0800
  Re: Validation in FieldSpec zodcomag@gmail.com - 2020-01-06 09:19 -0800
    Re: Validation in FieldSpec JohnMartens <martens@tennishulp.info> - 2020-01-06 18:50 +0100
      Re: Validation in FieldSpec zodcomag@gmail.com - 2020-01-06 11:41 -0800
        Re: Validation in FieldSpec JohnMartens <martens@tennishulp.info> - 2020-01-06 22:00 +0100
    Re: Validation in FieldSpec "Jamal" <noooospam@example.com> - 2020-01-06 17:25 -0500
      Re: Validation in FieldSpec zodcomag@gmail.com - 2020-01-07 02:57 -0800
        Re: Validation in FieldSpec "Jamal" <noooospam@example.com> - 2020-01-07 10:49 -0500
          Re: Validation in FieldSpec Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2020-01-07 17:28 +0100
            Re: Validation in FieldSpec James Martin <james@northwoodlumber.com> - 2020-01-18 14:10 -0500

csiph-web