Results 1 to 7 of 7

Thread: [RESOLVED] SetFocus issue !

Threaded View

  1. #1

    Thread Starter
    Frenzied Member TheBionicOrange's Avatar
    Join Date
    Apr 2001
    Location
    Cardiff, UK
    Posts
    1,818

    [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
  •  



Click Here to Expand Forum to Full Width