-
Topic
-
Stds: The button locations in the NewControlBoxDialog do not seem to be controllable (a pity), and the order of buttons 1 & 2 is contrary to Windows (and GroupWise) interface standards, with the cancel button (2) to the left of button 1. This makes virtually all dialogs error-prone. Since the [X] in the upper right corner of the dialog returns the same 2 code as button 2, I can’t adjust this by interpreting the buttons differently.
Bug: I used NewControlBoxDialog to create a dialog with 5 buttons.
Buttons 1-4 return integers 1, 2, 3, & 4, however button 5 returns a 6.Sample code follows:
dim rButton
dim SigDlgSub Main(Client, GWEvent)
set SigDlg = Utilities.NewControlBoxDialog
with SigDlg
.Caption = CAPTION
.Title = “Select Signature”
.Button1Caption = “&Save”
.Button2Caption = “&None”
.Button3Visible = TRUE
.Button3Caption = “&Personal”
.Button4Visible = TRUE
.Button4Caption = “&Casual”
.Button5Visible = TRUE
.Button5Caption = “&Disclaimer”
.Description = “description”
end with‘ SigDlg.AutoSize = TRUE
SigDlg.Height = 120
SigDlg.ShowWizardImage = FALSErButton = SigDlg.Execute
msgBox (rButton)
Set SigDlg = nothing
Set rButton = nothingEnd Su
- You must be logged in to reply to this topic.