Subject Re: [IBO] Controlling AnnounceFocus
Author Jason Wharton
Put code in the OnReceiveFocus event and filter out what you don't want

Jason Wharton
CPS - Mesa AZ

----- Original Message -----
From: "Brian Dunstan" <bdunstan@...>
To: <>
Sent: Wednesday, June 20, 2001 9:32 AM
Subject: [IBO] Controlling AnnounceFocus

> Hi,
> is there an easy way to prevent the IBO AnnounceFocus/ReceiveFocus
> 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
> and click the updateBar in Form1 it attempts to focus a control on
> 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