Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Custom message boxes

Status
Not open for further replies.

Grafton54

Computer
May 9, 2005
11
GB
I want to create a message box with the text "Which plant are you upgrading?" and three buttons: "Live" "Test" and "Cancel".

The text is not difficult to produce, but I do not know how to generate the buttons. I have searched the help instructions of the MsgBox function but it seems that the button settings are restricted (e.g. There is an option for Y/N buttons).

Does anybody know if it is possible to do it? Many thanks.
 
Replies continue below

Recommended for you

The easy way is to create a custom form containing a label control and the appropriate number of buttons and then show it modally, retrieving the return value via a Public variable

Good Luck
johnwm
________________________________________________________
To get the best from these forums read faq731-376 before posting

UK steam enthusiasts:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top