Subject Controlling AnnounceFocus
Author Brian Dunstan
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