True DataControl 8.0 Reference > True DataControl Control > TData Control All Members |
TData Control Properties
Can be set to False to work around limitations of some data bound controls. |
|
Enables/disables 3-D display effects for the control. |
|
Sets/returns the approximate number of rows in recordset in user events mode. |
|
Specifies an XArrayDB object as the control's data source. |
|
Controls automatic refresh of detail control upon change in master. |
|
Sets/returns the background color. |
|
Action taken on reaching BOF (begin of file). |
|
Determines if the Add button is visible. |
|
Determines if the Bookmarks button is visible. |
|
Determines if the Cancel button is visible. |
|
Determines if the Delete button is visible. |
|
Determines if the Find button is visible. |
|
Determines if the First and Last buttons are visible. |
|
Determines if the Previous and Next buttons are visible. |
|
Determines if the Previous Page and Next Page buttons are visible. |
|
Determines if the Query button is visible. |
|
Determines if the Update button is visible. |
|
Returns/sets the number of rows to keep cached navigating through the recordset. |
|
Specifies if the DataRead event is fired. |
|
Specifies if the DataWrite event is fired. |
|
Text displayed in the middle section of the control. |
|
If True, prevents automatic refresh while making batch changes. |
|
Amount of time to wait for the command to return (in seconds). |
|
Indicates the type of command. |
|
Determines whether to show confirmation message box when the Cancel button is pressed. |
|
Determines whether to show confirmation message box when the Delete button is pressed. |
|
Determines the ADO connection string used to establish data connection in data source mode. |
|
Amount of time to wait for the connection to open before aborting it. |
|
Contains a collection of constraint objects. |
|
Specifies if empty string values should be converted to Null on save. |
|
Specifies if Null values of string fields should be converted to empty strings on retrieval. |
|
Determines if server-side or client-side cursors are used (which cursor engine used). |
|
Sets the cursor type to use for the underlying recordset. |
|
Qualifies the DataSource property setting. |
|
Specifies the type of data storage on which the control operates. |
|
Sets/returns the source of underlying data in DataMode = 0 – DataSource. |
|
If True, live database connection is always used at design time. |
|
Seconds to wait for database connection at design time before aborting it. |
|
Enables/disables user interaction. |
|
Action taken on reaching EOF (end of file). |
|
Overrides default message box caption for run-time errors. |
|
Specifies whether to prompt for resetting value on field value errors. |
|
Contains a collection of field objects. |
|
Enables/disables filtering. |
|
Contains a collection of filter expression objects. |
|
Specifies the font used to display the caption text. |
|
Sets/returns the foreground color. |
|
Specifies how this control is linked to another TData control. |
|
Sets/returns the type of locking (concurrency) to use. |
|
If True, SourceRecordset changes are not automatically saved to the database on Update. |
|
Specifies the TData control on which this control is dependent. |
|
Maximum number of records to retrieve when opened. |
|
Describes the mode in which the current connection is opened. |
|
Sets a custom mouse icon. |
|
The type of mouse pointer displayed when over the control. |
|
Used in containers that don’t support the standard Name property (for example, VC++). |
|
Contains a collection of named bookmark objects, for Bookmarks button dialog. |
|
Control's orientation, either horizontal or vertical. |
|
Sets/returns the number of records in a page. |
|
Contains a collection of parameter objects. |
|
For OLE DB providers that support password. |
|
Returns the number of connections in the pool shared by all TData controls. |
|
Returns connections in the pool shared by all TData controls. |
|
Contains a collection of property expression objects. |
|
Returns the Filter string that can be applied to an ADO recordset, composed from user-supplied data in query mode. |
|
If True, the control is in query mode. |
|
Returns the ADO recordset object representing control's data. |
|
Source of recordset in data source mode: SQL, other command text or table name. |
|
Determines whether SourceRecordset changes trigger refresh. |
|
Determines whether to call SourceRecordset.Resync immediately after SourceRecordset.Update. |
|
If True, ADO recordsets are used with extra caution, avoiding certain problems in various OLE DB providers. |
|
Sets/returns the ADO connection used to connect to underlying data in data source mode. |
|
Sets/returns the ADO recordset used as underlying data in data source mode. |
|
Determines if the button tooltips are enabled. |
|
For OLE DB providers that support user name. |
TData Control Methods
Converts array index to bookmark in memory array mode. |
|
Converts bookmark to array index in memory array mode. |
|
Returns the enabled state of a control button. |
|
Enhanced version of ADO CancelUpdate, includes resetting bound controls. |
|
Begins, ends, or cancels a drag operation of the control. |
|
Sets the enabled state of a button. |
|
Moves the position of the control on the form. |
|
Invokes the action of a control’s button. |
|
Used to specify error description in user mode events. |
|
Refetches all data. |
|
Retrieves field layout from the source recordset. |
|
Changes the picture on a button. |
|
Changes a string shown to the end-user. |
|
Displays the appropriate help topic for the control. |
|
Updates the recordset with modified values from bound controls. |
|
Places the control at the front or back of the z-order. |
TData Control Events
Occurs when a control button is pressed. |
|
Occurs when a control button's enable state changes. |
|
Occurs before calculated field expressions are evaluated. |
|
Occurs after calculated field expressions have been evaluated. |
|
Occurs immediately after retrieving a row of values from the data source. |
|
Occurs immediately before saving changed values to the data source. |
|
Occurs as a result of an error that takes place when no user code is being executed. |
|
Occurs after a field value has changed. |
|
Occurs before filter expressions are evaluated. |
|
Occurs after filter expressions have been evaluated. |
|
Occurs when Bookmarks Dialog is being opened. Allows you to specify the current bookmark name. |
|
Occurs after the current row position has changed. |
|
Occurs at startup and on every refresh. Allows the user to set the underlying recordset (SourceRecordset property) or XArrayDB (Array property) object. |
|
Occurs at startup and on every refresh, after the OpenData event. |
|
Occurs after a record has been added/deleted/updated/restored. |
|
Occurs after the whole recordset has changed. |
|
Occurs when a new row is added in DataMode = 2 – UserEvents. |
|
Occurs when a row needs to be deleted in DataMode = 2 – UserEvents. |
|
Occurs in DataMode = 2 - UserEvents, when the control needs to find a row based upon a simple filter. |
|
Occurs when the control requires data in DataMode = 2 – UserEvents. |
|
Occurs when a row needs to be modified in DataMode = 2 – UserEvents. |
|
Occurs before a field value changes. |
|
Occurs before the current row position changes. |
|
Occurs before the whole contents of the recordset change due to a pending operation. |
|
Occurs before the current row position changes. |
|
Occurs at startup and on every refresh, before the OpenData event. |