Name

Popup::YesNoHeadline — This dialog displays "message" (a question) and has a <b>Yes</b> and a <b>No</b> button.

Synopsis

Import Popup;
boolean Popup::YesNoHeadline ( string  headline ,
  string  message );

Parameters

string headline

short headline or Popup::NoHeadline()

string message

message string

Return Value

boolean

Description

It should be used for decisions about two about equivalent paths, not for simple confirmation - use "Popup::ContinueCancel()" for those. A short headline can be displayed (without headline you can use Popup::YesNo()).

The default button is Yes.

Returns true if <b>Yes</b> is clicked.

Examples

   Popup::YesNoHeadline ( "Resize Windows Partition?", "... explanation of dangers ..." );

Screenshot

See