Subject | Re: [IBO] Focus TIB_EDIT when field is required. |
---|---|
Author | Helen Borrie |
Post date | 2002-10-03T23:13:17Z |
At 02:10 PM 03-10-02 +0200, you wrote:
hierarchy?
order you want; or perhaps reading them from the ColumnAttributes into an
ordered stringlist...
Helen
>Hi listCan you read the form's ActiveControl property and work through the Parent
>
>I noticed that when the field has status 'required' and trying to save
>record with this kind of field left blank, after showing the error message
>the IB_Edit control linked to such a field gets focus. That's great
>behaviour!.
>But...
>I have a form where I use PageControl component due to large number of
>fields. Is there a way to catch this error and in the mean time switch to
>proper tabsheet where the ib_edit is placed to get this control focused.
hierarchy?
>Can I set the order that will be used when verifying required fields (i.e.I can't think of a way, other than to have the fields in your SQL in the
>first check this field, next that one and so on)?
order you want; or perhaps reading them from the ColumnAttributes into an
ordered stringlist...
Helen