changing msgbox button text?

You must choose between one of the members of MessageBoxButtons enumeration. Ex:
VB.NET:
Expand Collapse Copy
[SIZE=2]MessageBox.Show([/SIZE][SIZE=2][COLOR=#800000]"text"[/COLOR][/SIZE][SIZE=2], [/SIZE][SIZE=2][COLOR=#800000]"caption"[/COLOR][/SIZE][SIZE=2], MessageBoxButtons.RetryCancel)[/SIZE]
[SIZE=2]
[/SIZE]
 
couldnt you simply override the msgboxstyle with one of your own?


im pretty sure ive seen something like that somewhere. and it would have to be possible, because i have seen tons of message boxes with different text on the buttons.

regards

adam
 
Just because you've seen dialogue boxes with different text on their buttons doesn't mean that they have anything to do with the MsgBox or MessageBox.Show functions. You can create any form you want with any combination of buttons you want. The MessageBox class provides very specific functionality for very specific, commonly used scenarios. If you want something different then you need to create your own form.
 
Back
Top