Navigation: ABC Library Reference > BrowseClass > BrowseClass Properties >====== TabAction (edit-in-place action on tab key) ====== | |
TabAction | BYTE |
The TabAction property indicates the action to take when the end user presses the TAB key during an edit-in-place process. There are two types of actions that TabAction controls:
what to do with pending changes (default, save, abandon, or prompt),
what mode to use next (continue editing or revert to non-edit mode).
The specified actions are implemented by the Ask method. Set the actions by assigning, adding, or subtracting the following EQUATEd values to TabAction. The following EQUATEs are in ABBROWSE.INC:
ITEMIZE,PRE(EIPAction)
Default EQUATE(0) !save according to the Ask method
Always EQUATE(1) !always save the changes
Never EQUATE(2) !never save the changes
Prompted EQUATE(4) !ask whether to save the changes
Remain EQUATE(8) !continue editing
END
Example:
BRW1.TabAction = EIPAction:Prompted !ask to save changes
BRW1.TabAction = EIPAction:Prompted+EIPAction:Remain !ask to save, keep editing
See Also: Ask