Method dialog.showYesNo
Overload
Shows dialog with Yes and No buttons.
public static bool showYesNo(string text1 = null, DText text2 = null, DFlags flags = 0, DIcon icon = 0, AnyWnd owner = default, DText expandedText = null, string title = null, int secondsTimeout = 0)
Parameters
|
text1 (string)
Heading text. |
|
text2 (DText)
Message text. Can be string, or string with links like |
|
flags (DFlags)
Enum: CommandLinks, ExpandDown, Wider, XCancel, CenterOwner, CenterMouse, RawXY, MinimizeButton, Topmost, NoTopmost. |
|
icon (DIcon)
Enum: Warning, Error, Info, Shield, App. |
|
owner (AnyWnd)
Owner window. See dialog.OwnerWindow. |
|
expandedText (DText)
Text in expander control. Can be string, or string with links like |
|
title (string)
Title bar text. If omitted, |
|
secondsTimeout (int)
If not 0, after this time (seconds) auto-close the dialog and return dialog.Timeout. |
Returns
|
bool
|
Exceptions
|
Win32Exception
Failed to show dialog. Unlikely. |
Remarks
Calls dialog.show.