📚 SAP Business One SDK Help

Mode Property
See Also 

Description

The form's mode.

Property type

Read-write property

Syntax

Visual Basic
Public Property Mode() As BoFormMode

Remarks

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.

You can manage mode changes independently by the add-on or automatically by the application using Form.AutoManaged.

Changes between modes are triggered by click events occurring on items whose AffectsFormMode property is set to true.

See Also