|

Icon


(number) The icon to display on the dialog:



CONSTANT


VALUE DESCRIPTION


MB_ICONNONE


0


None.


MB_ICONSTOP


16


Stop.


MB_ICONQUESTION


32


Question.


MB_ICONEXCLAMATION


48


Exclamation.


MB_ICONINFORMATION


64


Information. (Default)


Re t u r n s


Nothing. You can use Application.GetLastError to determine whether this action failed, and why.


See also: Related Actions


image

D i a l og E x


image

DialogEx.ClickObject

OverviewExamples


DialogEx.ClickObject ( string ObjectName )


De s cr ip t ion


Fires the On Click event of the specified object on the current dialog. This will cause any actions on the object's On Click event to be executed.


P arame t er s


ObjectName


(string) The name of the object.


Re t u r n s


Nothing. You can use Application.GetLastError to determine whether this action failed, and why.


See also: Related Actions


image

image

DialogEx.Close

OverviewExamples

boolean DialogEx.Close ( number ReturnCode )


De s cr ip t ion


image

Closes the current dialog with a specific return code.


Note: If the user closed the dialog using the close button on the window, IDCANCEL (2) will be returned.


Note: You cannot close a dialog while a status dialog is visible.


Tip: Dialogs can be shown using the DialogEx.Show action.


Tip: If you need to prevent the user from closing the dialog or want to add a confirmation message, you can use the built-in function QueryAllowDialogClose.


P arame t er s


ReturnCode


(number) The value to return from the dialog. This is the value that will be returned by the

DialogEx.Show action.


Re t u r n s


(boolean) True if the dialog was closed successfully, or false if it was not. You can use

Application.GetLastError to determine whether this action failed, and why.


|