Subject | Re: [IBO] Controlling AnnounceFocus |
---|---|
Author | Jason Wharton |
Post date | 2001-06-21T18:12:46Z |
Put code in the OnReceiveFocus event and filter out what you don't want
there.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
there.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: "Brian Dunstan" <bdunstan@...>
To: <ibobjects@yahoogroups.com>
Sent: Wednesday, June 20, 2001 9:32 AM
Subject: [IBO] Controlling AnnounceFocus
> Hi,
>
> is there an easy way to prevent the IBO AnnounceFocus/ReceiveFocus
mechanism
> crossing between forms?
>
> I have 2 forms, Form1 and Form2. Each has 2 datasets and a ib_updateBar.
>
> The problem is that if I have been using Form1 then Form2, then close
Form2
> and click the updateBar in Form1 it attempts to focus a control on
invisible
> Form2. I would like to restrict the mechanism so it only works within the
> currently focused form.
>
> I know I can hack it by messing about setting focus on controls as the
> active form changes, but I thought there might be an easy way.
>
> Thanks in advance,
>
> Brian
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>