Prev | Current Page 974 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

It is a simple, single button
dialog that allows for the straightforward delivery of important information to the user.
Creating a message box couldn ??™ t be easier. All that is required is a single line of code:
systools.Dialogs.message( title, message, isError );
The first parameter to this function call represents the title string at the top of the dialog pop - up, the
second parameter is the text message that is displayed on the pop - up, and the third is an optional
Boolean value that, if true, displays an error icon; otherwise it is an informational icon.
The Confirm Message Box
The confirm message box provides a means for a user to select from a choice of options, yes or no. Its
primary use is to allow the user of the application to respond to important actions, such as whether to
save a document when shutting down the application. This feat is provided by offering two buttons,
rather than the normal one. If the user clicks on the first button, labeled yes, then the function that
derives the confirm message box returns true ; otherwise false is returned.


Pages:
962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986