|
-
Mar 29th, 2004, 08:41 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] SetFocus issue !
OK heres the thing.
Form A = Main Form
Form B = Error message
Form A calls Form B modally.
If user presses Button 1 on Form B, I want to set the focus on textbox A on Form A.
Unfortunately, because Form B is called Modally I can't do this.
So I declare a public Boolean in a module and set it to true on the click of the button, thinking I can check the boolean state in the Activate event of Form A.
Spotted the obvious error yet ? Even bothered reading this far ?
The Activate event of Form A isn't called when Form B is closed down, so how do I set my focus ?
I hope this ones easy
Last edited by TheBionicOrange; Mar 29th, 2004 at 08:54 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|