Call on a msgbox from a different object

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lee123
    Contributor
    • Feb 2007
    • 556

    Call on a msgbox from a different object

    hi there it's been awhile since i have been to this site. but was wondering if you can call on a msgbox from a different object not to show until you have completed other textboxes.

    for example in my project i have a msgbox that when you leave a textbox a msgbox askes you if there is a reference number and it's a yes or no question.

    but what if you have option buttons that use that same textbox but you don't want the msgbox appear yet because you have other textboxes to go through before you want the msgbox to appear.

    is that possible?

    lee123
  • smartchap
    New Member
    • Dec 2007
    • 236

    #2
    I think u may use a Flag to check if the cursor is in a textbox or an option button. If its a textbox let messagebox appear and if its an option button code should check the value of flag and message box may not appear.
    Also if your query is something else as I understood plz make it clear and may give ur code listing to understand it properly.

    Comment

    • lee123
      Contributor
      • Feb 2007
      • 556

      #3
      Hey thanks For the response. i have never done a flag before just curious on how to do one. if you would please give me an example of on with a textbox and msgbox and i will see if i cant get my code and show you what i mean.

      lee123

      Comment

      Working...