CustTable CustTableTmp;
;
CustTableTmp.setTmp();
while select CustTable
{
CustTableTmp.data(CustTable.data());
CustTableTmp.doInsert();
}
Select CustTableTmp;
Note |
---|
The Box application class calls the DialogBox system class. Don't call it directly—always call the Box class instead.
|
Box class static method name | AssociatedDialogBoxTypeenum value | Description |
---|---|---|
info
|
InfoBox
|
The OK button is the only one that the info method displays in the dialog box.
Use this method to display general information messages rather than for warning or error messages.
|
infoOnce
|
InfoBox
|
The infoOnce method is similar to the info method but with the following differences:
The infoOnce method returns void, even though it has two buttons.
|
infoOnceEx
|
InfoBox
|
The infoOnceEx method is similar to the infoOnce method but with the following differences:
|
okCancel
|
OkCancelBox
|
The OK and Cancel buttons are displayed in the dialog box. Call this method when the user must confirm or reject an action.
|
stop
|
StopBox
|
The OK button is the only one displayed in the dialog box.
Use this method to display a message when the user should stop attempting their action or when a process has stopped running.
|
warning
|
WarnBox
|
The OK button is the only one displayed in the dialog box. Use this dialog box for a warning message.
|
yesAllNoAllCancel
|
YesToAllNoToAllBox
|
The buttons displayed in this dialog box are Yes, Yes to all, No, No to all, and Cancel.
|
yesNo
|
YesNoBox
|
The buttons displayed in this dialog box are Yes and No. Call this method when you need the user to make a choice.
|
yesNoNoAllCancel
|
NoToAllBox
|
The buttons displayed in this dialog box are Yes, No, No to all, andCancel.
|
yesNoAxaptaForm
|
YesNoBox
|
The yesNoAxaptaForm method is similar to the yesNo method but with the following differences:
|
yesNoCancel
|
YesNoCancelBox
|
The buttons displayed in this dialog box are Yes, No, and Cancel. Call this method when the yesNo method is insufficient.
|
yesNoOnce
|
YesNoBox
|
The yesNoOnce method is similar to the yesNo method but with the following differences:
|
yesYesAllNoCancel
|
YesToAllBox
|
The Yes, Yes to all, No, and Cancel buttons are displayed.
|
static void JobBoxDemo(Args _args) { DialogButton diagBut; str strMessage = "The No button should have initial focus."; str strTitle = "Title"; ; diagBut = Box::yesNoCancel( strMessage, DialogButton::No, // Initial focus is on the No button. strTitle); if (diagBut == DialogButton::No) { print "The No button was clicked."; } else { print "The button that was clicked was: ", diagBut; } pause; }