Close | Closes an open form. |
EnableFormatSearch | Enables format search. |
EnableMenu | Enables activating and disabling toolbar items when your add-on form is in focus.
In the SAP Business One application, forms control the status of toolbar items. During the form life-cycle, toolbars check their items and enable or disable items depending on the form currently in focus. |
Freeze | Freezes and unfreezes the form. When frozen, no changes in the form are displayed.
Use this method to update the form without causing flickering. |
GetAsXML | Returns an XML string representation of the object. |
Refresh | Deprecated in UI API 2004. The method is supported in the next two releases for backward compatibility. In the current release, the form is always updated so there is no need for refreshing the form. |
ResetMenuStatus | Clears user actions on the application toolbar. |
Resize | Resizes the form.
Use this method to resize the form and keep the relative locations of items on the form. |
Select | Sets the focus to the form. |
Update | Reloads the form from the application.
Use this method to update an object from the database. |
ActiveItem | The unique ID of the item currently in focus on the form. When you set this property, the form sets the focus on the specified item, which must be able to get focus (EditText or ComboBox). |
AutoManaged | Indicates whether the application manages your add-on form modes automatically.
When set to true, the application controls the form mode when the form is loaded and manages the status of items and menus (relevant to a specific mode) in mode changes. Specify the modes that are to be managed on the form with the SupportedModes property. |
BorderStyle | The form's border style. |
BusinessObject | A BusinessObject holding a reference to the user-defined object connected to the form.
The user-defined object is specified in FormCreationParams.ObjectType. |
ChooseFromLists | A collection of the ChooseFromList items on the form. |
ClientHeight | The height of the form's client rectangle, which is the form area that is available for adding items. This area does not include the title area of the form, on which you cannot add items. |
ClientWidth | The width of the form's client rectangle, which is the form area that is available for adding items. This area does not include the title area of the form, on which you cannot add items. |
DataBrowser | A DataBrowser object enabling you to display navigation buttons and menus for moving from one record to the next. |
DataSources | The data source of the form. |
DefButton | The default item of the form. |
Height | The height of the form. |
IsSystem | Indicates whether the form is a system form. |
Items | A collection of all the items in the form. |
Left | The form's left position. |
MaxHeight | The maximum height of the form. |
MaxWidth | The maximum width of the form. |
Menu | Returns the form's Menus collection, enabling you to add a dynamic menu to your add-on form. |
Modal | Indicates whether the form is a modal window. |
Mode | The form's mode. |
PaneLevel | The form's pane level. This property determines what items are visible based on the items FromPane and ToPane properties. |
ReportType | The report type code. By setting this property, you can relate the form with a report type. |
Selected | Indicates whether the form has focus. |
Settings | The form settings object for the form. |
State | The window state of the form, such as whether the form in minimized. |
SupportedModes | The range of modes available to the form. You can use one mode only, more than one mode (using OR), or all modes available in the application.
In SAP Business One, forms can appear in several modes that determine the type of actions users can perform on the form. For example, Add mode is used to add records to a form, while OK mode is used to display the form information. |
Title | The form's title. |
Top | The form's top position. |
Type | Deprecated in UI API 2004. The property is supported for backward compatibility in the next two releases. Use TypeEX instead. |
TypeCount | The number of open forms of the same type. |
TypeEx | The form's type. |
UDFFormUID | The user-defined field form's unique ID. |
UniqueID | The form's unique ID. |
Visible | Indicates whether the form is visible. |
VisibleEx | Indicates whether the form is visible. |
Width | The width of the form. |