Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves a FormDesign object.
Syntax
public FormDesign design([int reserved])
Run On
Client
Parameters
- reserved
Type: int
Return Value
Type: FormDesign Class
A FormDesign object.
Examples
The following example shows a call to the design method to instantiate the FormDesign class. The FormDesign.caption method specifies a caption for the form.
void runForm(Form form)
{
Args args;
FormRun formRun;
FormDesign formDesign;
args = new Args();
args.object(form);
// Create the run-time form.
formRun = classfactory.formRunClass(args);
formRun.run();
formRun.detach();
formDesign = formRun.design();
formDesign.caption("My Form");
}