MessageBoxButtons with other words
MessageBoxButtons with other words
(OP)
Hello
I want create 1 Box that show 3 buttons with "1", "2" and "a"
I found this comand MessageBoxButtons like this exemple:
there are any way to change "yes", "no" and "cancel" for "1", "2" and "a"?
Rúben Silva
I want create 1 Box that show 3 buttons with "1", "2" and "a"
I found this comand MessageBoxButtons like this exemple:
CODE --> NX
result = MessageBox.Show("Choose 1 option", "", MessageBoxButtons.YesNoCancel) there are any way to change "yes", "no" and "cancel" for "1", "2" and "a"?
Rúben Silva





RE: MessageBoxButtons with other words
www.nxjournaling.com
RE: MessageBoxButtons with other words
Dim messages As String() = {message}
Dim buttons As UFUi.MessageButtons
With buttons
.button1 = True
.button2 = False
.button3 = True
.label1 = "Yes"
.label2 = Nothing
.label3 = "No"
.response1 = 1
.response2 = 0
.response3 = 2
End With
Dim resp As Integer
theUFSession.Ui.LockUgAccess(UFConstants.UF_UI_FROM_CUSTOM)
theUFSession.Ui.MessageDialog(title, UiMessageDialogType.UiMessageQuestion, messages, 1, True, buttons, resp)
theUFSession.Ui.UnlockUgAccess(UFConstants.UF_UI_FROM_CUSTOM)
If resp = 1 Then Return True Else Return False
End Function
RE: MessageBoxButtons with other words
RE: MessageBoxButtons with other words
RE: MessageBoxButtons with other words
www.nxjournaling.com