Subject Re: [IBO] TIB_UpdateBar
Author Fernando Azevedo
Can't you just use the TIB_Edit onExit event to verify the password
and only then enable the TIB_UpdateBar ?


renato.smiranda escreveu:
> --paTmamzD1EoEAXdd9JqzKvw-r7KXhngdJ8rNCUH
> Mime-Version: 1.0
> Content-Transfer-Encoding: quoted-printable
> Content-Type: text/plain; charset=ISO-8859-1
> Hi,=20
> I'm new to IBO and I have many questions about the use of its components.
> But there is one related to the TIB_UpdateBar that is more important now:
> I have a Form that register users of the System. The user has to
> inform, among other things, the password twice (two TIB_Edits). The
> problem is that BEFORE the post I have to check some inconsistences,
> for example, password with the same characters, sequences 12345, or
> 54321, or abcde, or ABCDE, length less than 5 characters, or wrong
> confirmation.
> Wich event could I use to perform these checks and abort the post
> until correction, without lose data previously informed ?
> I tryed TIB_Query.BeforePost, TIB_UpdateBar.BeforeAction and some
> combinations between them. Normally, I lose the previous information
> and a new empty record was shown.
> Thanks for any help.
> RMiranda