I have a form that has visible = .f.
In the init of controls on the form, there is a control.setfocus that makes the form visible = .t.
Its not a specific contro, there are a bunch of them and a bunch of forms so putting code in the setfocus is not really an option.
How can I catch this event (visible changes from .f. to .t.) and reset visible = .f.?
I tried assign method and form.gotfocus method and programaticchange method but none of these trigger.
Any ideas how to catch the change of form visible value and reset it to false?
Cheers
David Younger