Connecting Tech Pros Worldwide Forums | Help | Site Map

Call on a msgbox from a different object

lee123's Avatar
Site Addict
 
Join Date: Feb 2007
Location: United States
Posts: 532
#1: Jul 26 '08
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's Avatar
Familiar Sight
 
Join Date: Dec 2007
Location: Lucknow, India
Posts: 194
#2: Jul 26 '08

re: Call on a msgbox from a different object


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.
lee123's Avatar
Site Addict
 
Join Date: Feb 2007
Location: United States
Posts: 532
#3: Jul 27 '08

re: Call on a msgbox from a different object


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
Reply