Online Documentation for SQL Manager for SQL server
Adding dialog form
To add a dialog form, select the File | New Dialog main menu item in Report Designer.
The new dialog appears within the DialogPage1 tab of the designer. Use the available RAD tools to add necessary interface elements to the dialog.
To call the dialog, proceed to the Code tab and supply the corresponding statement (PascalScript), e.g.
begin
DialogPage1.ShowModal;
end.
Using the Language drop-down list you can select the script language to be used for the event handler: PascalScript (by default), C++Script, BasicScript, JScript.
For instance, the following C++ Script code can be used as the handler for the OnClick event of the 'Show' button to open ADOQuery:
{
ADOQuery1.Active = true;
}
See also: |