ComponentOne True DataControl 8.0
True DataControl Buttons

The following is a brief description of all thirteen True DataControl buttons and their functions.

First/Last

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).

Previous Page/Next Page

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).

Previous/Next

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).

AddNew

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).

Update

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).

Cancel

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.

Query

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).

Delete

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.

Find

Pressing the Find button invokes the Find Dialog.

It is visible if the ButtonFind property is True (default: False).

Bookmarks

Pressing the Bookmarks button invokes the Bookmarks Dialog.

It is visible if the ButtonBookmark property is True (default: False).

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback