| GetAutoManagedAttribute Method | |
| See Also |
- AttrType
- Specify the item attribute for which you want to get the behavior.
- Mode
- Specify the form mode.
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 |
- AttrType
Specify the item attribute for which you want to get the behavior.Value Description ama_Visible Selects the visible item attribute. ama_Editable Selects the editable item attribute. - Mode
Specify the form mode.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. | mvb_ False |
| mvb_True | The setting in AttrType parameter is true. | mvb_ True |
| mvb_Default | The item attribute behaves according to the attribute default in the specified form mode. | mvb_ Default |