Returns the behavior of an item attribute for forms with automatic management of modes.
You can set the behavior of an item attribute in Item.SetAutoManagedAttribute.
Returns the behavior of an item attribute for forms with automatic management of modes.
You can set the behavior of an item attribute in Item.SetAutoManagedAttribute.
| Visual Basic |
|---|
Public Function GetAutoManagedAttribute( _ ByVal AttrType As BoAutoManagedAttr, _ ByVal Mode As BoAutoFormMode _ ) As BoModeVisualBehavior |
| Value | Description |
|---|---|
| ama_Visible | Selects the visible item attribute. |
| ama_Editable | Selects the editable item attribute. |
| Value | Description |
|---|---|
| afm_All | All modes |
| afm_Ok | OK mode |
| afm_Add | Add mode |
| afm_Find | Find mode |
| afm_View | View mode |
The method returns a BoModeVisualBehavior value:
| Member | Description | Value |
|---|---|---|
| mvb_False | The setting in AttrType parameter is false. | 0 |
| mvb_True | The setting in AttrType parameter is true. | 1 |
| mvb_Default | The item attribute behaves according to the attribute default in the specified form mode. | 2 |