Subject Re: [IBO] Focus TIB_EDIT when field is required.
Author Jason Wharton
I don't know how I would accomplish this.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com

-- We may not have it all together --
-- But together we have it all --


----- Original Message -----
From: "Marcin Bury" <mbury@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, October 03, 2002 5:10 AM
Subject: [IBO] Focus TIB_EDIT when field is required.


> Hi list
>
> 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.
> Can I set the order that will be used when verifying required fields (i.e.
> first check this field, next that one and so on)?
>
> TIA
> Marcin