Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

When MsgBox is not enough?

Status
Not open for further replies.

Eupher

MIS
Jul 18, 2002
1,724
US
As useful as they are, what do you do when the permutations of the MsgBox function are not enough for your purpose? How do you present the user with several choices (where OK/Yes/No/Cancel/Abort/Retry/Ingnore aren't appropriate), suspend processing pending the user's choice, then return control to the calling function after the choice has been made?

Obviously this involves creating a form with buttons for each choice, and the code attached to the buttons to return the values, but how dow you make the program wait for the user's input? (I know I could loop through a timer, but that seems terribly inefficient to me)

I've been scratching my head about this one and I feel like I must be overlooking something simple. Thanks for any assistance...

Ken S.
 
Sorry, gang, should have searched the forums a little better. Found my answer in thread705-114020.

Ken S.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top