BIAnalysisServicesWizardListPanelSet::newForm Method [AX 2012]
Initializes a new instance of the SysListPanel class from the specified form.
Syntax
client server public static SysListPanel newForm(
FormRun formRun,
int parentId,
[boolean hasAddAllButton,
boolean hasRemoveAllButton,
str captionLeft,
str captionRight])
Run On
Called
Parameters
- formRun
Type: FormRun Class
The reference of the form that will display the list panel.
- parentId
Type: int
The ID of the control that will contain the list panel.
- hasAddAllButton
Type: boolean
A Boolean value that indicates whether to display the Add-All button; optional.
- hasRemoveAllButton
Type: boolean
A Boolean value that indicates whether to display the Remove-All button; optional.
- captionLeft
Type: str
A string value that contains the caption of the left panel; optional.
- captionRight
Type: str
A string value that contains the caption of the right panel; optional.
Return Value
Type: SysListPanel Class
A new instance of the SysListPanel class.
Remarks
This static method is called from the form on which the list panel control is displayed. The reference to the formRun object as well as the parent control ID are from where the control is initialized.