Post by Glenn JohansenThe only issue that I have at this time, is the forms "activecontrol" does
not switch to the "subform".
When focus is on the subform, the parent form's activecontrol is the
pushbutton.
Bug maybe ?? Is a subform considered a control ?? I use the activecontrol
alot in global key routines.
I think that it is WAD, you will probably have to write a function for the
enterkey at the subform level or maybe a simple loop that will add an onkey
event to each entryfield. I wonder how menus respond or even if they can be
attached. I will check.
By the way, I found it a bit frustrating that one would have to use the
mouse to re-gain focus to the parent for or vice versa, so I think the
solution for that would be to decide which object in the zorder would be the
last one and then for that objects onLostFocus do something like following:
this.parent.activeControl.setFocus() // from subform
this.s.activeControl.setFocus() // from subform
What do you think?
Greg Hill