Global::formGetFromControl Method [AX 2012]
Get the FormRun object that owns a specific control.
Syntax
client server public static FormRun formGetFromControl(FormControl _control)
Run On
Called
Parameters
- _control
Type: FormControl Class
The form control to get the owner of
Return Value
Type: FormRun Class
FormRun object instance that owns the given control, otherwise nullNothingnullptrunita null reference (Nothing in Visual Basic).