| SetAutoManagedAttribute Method | |
| See Also |
- AttrType
Specifies the item attribute for which you want to set a behavior. The behavior is set in the Behavior parameter.
- ModeMask
- Specifies the form mode in which you want to set the item behavior. The value is a mask for BoAutoFormMode values allowing you to select multiple form modes.
- Behavior
- Specifies the item behavior in the selected item attribute ( AttrType) and form mode ( ModeMask).
Sets the behavior of this item when the form mode changes in forms that are managed automatically by the application.
You can use this method to manipulate items behavior in specific form modes when the form modes are managed automatically by the application.
| Visual Basic |
|---|
Public Sub SetAutoManagedAttribute( _
ByVal AttrType As BoAutoManagedAttr, _
ByVal ModeMask As Long, _
ByVal Behavior As BoModeVisualBehavior _
) |
- AttrType
Value Description ama_Visible Selects the visible item attribute. ama_Editable Selects the editable item attribute. Specifies the item attribute for which you want to set a behavior. The behavior is set in the Behavior parameter.
- ModeMask
- Specifies the form mode in which you want to set the item behavior. The value is a mask for BoAutoFormMode values allowing you to select multiple form modes.
- Behavior
Specifies the item behavior in the selected item attribute ( AttrType) and form mode ( ModeMask).Value Description mvb_False The setting in AttrType parameter is false. mvb_True The setting in AttrType parameter is true. mvb_Default The item attribute behaves according to the attribute default in the specified form mode.
This method is valid only for user-defined forms.