Delphi ttable Components

Source: Internet
Author: User

Ttable is a derived class of Tdataset, which is a data set component based on the BDE database engine and a simpler data component that can fetch data from the database directly from the databases by setting the database properties of the connection and the name of the data table to be fetched ( Tablename), it is a fast way to use ttable for simple applications.

When the user uses the Ttable component directly, the component uses the default field settings. To change the field settings for the Ttable component, you can do so through the field editor. After you double-click the Ttable component on the form, enter the field editor to edit the fields separately.

Ttable Common Properties

Alignment: The Alignment of field data display

DisplayFormat: Sets the representation of the data within the field, if the numeric type of the data needs to add thousands of delimiters, the property value is #,###

Displaylabel: Sets the title name of the field, which defaults to the field name, and when a specific field name is set, all components that use the dataset will also take the newly created field name directly

Editmask: When entering edit mode, set the edit screen of the field, that is, you can restrict the data format or data content entered by the user.

FieldName: Sets the field to which the field and data table are connected, that is, which field in the data table the field gets the data from

ReadOnly: Sets the read-only or not for each field individually

Visible: Sets the display of the field or not, the field set to False will not appear on the display of the TDBGrid component if a control component such as TDBGrid is connected.

Field Editor Features

Quick drag of the field editor

Delphi ttable Components

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.