Share via


FormRun.name Method

Retrieves the name of a form.

Syntax

public str name()

Run On

Client

Return Value

Type: str
A string value that specifies the name of a form.

Remarks

Use the Form.name method to specify the form name.

Examples

The following example shows a call to the name method to return the form name.

void runForm(Form form) 
{ 
    Args args; 
    FormRun formRun; 
    FormDesign formDesign; 
    str formName; 
   
    args = new Args(); 
    args.object(form); 
 
    // Create the run-time form. 
    formRun = new FormRun(Args); 
 
    formRun.run(); 
    formRun.detach(); 
 
    formName = formRun.name(); 
}

See Also

Reference

FormRun Class