End-User Interface Features > True DataControl Buttons |
The following is a brief description of all thirteen True DataControl buttons and their functions.
Pressing one of these buttons positions a True DataControl on its first/last record.
Both buttons are visible if the ButtonFirst property is True (default: True).
Pressing one of these buttons moves PageSize records backward/forward in the recordset.
Both buttons are visible if the ButtonPage property is True (default: False).
Pressing one of these buttons moves one record backward/forward in the recordset.
If the user presses one of these buttons and holds the left mouse button, the button causes movement repeatedly, with a small fixed time interval (the “repeat” feature).
If there is no previous/next record in the recordset, in other words, the current record is first/last, the behavior depends on the BOFAction/EOFAction property setting.
Both buttons are visible if the ButtonNext property is True (default: True).
Pressing this button adds a new row to the recordset and positions on the newly added row.
It is visible if the ButtonAdd property is True (default: False).
Pressing this button updates the recordset, in other words, sends the modified values to the database.
In batch update mode (LockType =adLockBatchOptimistic), it performs Recordset.UpdateBatch, otherwise, it performs Recordset.Update.
It is visible if the ButtonUpdate property is True (default: False).
Pressing this button cancels the changes made by the end-user. It is equivalent to Recordset.CancelBatch in batch update mode (LockType=adLockBatchOptimistic), and to Recordset.CancelUpdate otherwise.
It is visible if the ButtonCancel property is True (default: False).
There is a special property, ConfirmCancel that, if set to True (default: False), makes True DataControl show a confirmation dialog when the Cancel button is pressed.
This toggle button switches a TData control between query and result modes. For more information, see Query Mode. When the button is depressed, the control is in query mode. When it is released, the control is in result mode.
The Query button is visible if the ButtonQuery property is True (default: False).
Pressing this button deletes the current row from the recordset.
It is visible if the ButtonDelete property is True (default: False).
There is a special property, ConfirmDelete that, if set to True (default: False), makes True DataControl show a confirmation dialog when the Delete button is pressed.
Pressing the Find button invokes the Find Dialog.
It is visible if the ButtonFind property is True (default: False).
Pressing the Bookmarks button invokes the Bookmarks Dialog.
It is visible if the ButtonBookmark property is True (default: False).