Форум: "Базы";
Текущий архив: 2002.05.20;
Скачать: [xml.tar.bz2];
ВнизЧто такое Tfield и как его использовать Найти похожие ветки
← →
maxim2 (2002-04-24 09:59) [0]Привет всем.
Что то не пойму на панельках его нигде нет, в форму его как бы не могу добавить, что такое как его использовать.
← →
arhelon (2002-04-24 10:08) [1]Могет у тя дельфя не полная и там нет хелпа так вот на всякий случай. :) :-\
TField is the common ancestor of all the field components.
Unit
DB
Description
TField encapsulates the fundamental behavior common to all field components. It introduces the properties, events, and methods that are used to:
Change the value of a field in a dataset.
Convert the value of a field from one data type to another.
Validate data that the user enters for a field.
Define how the data in the field appears as it is displayed or edited.
Calculate the value of a field from code written in the OnCalcFields event of the dataset.
Look up the field’s value from another dataset.
Do not create instances of TField. TField descendants are created automatically each time a dataset is activated. These descendants can be dynamic (the default) or persistent. Dynamic field components reflect the columns in the underlying metadata at the time a dataset is opened. Persistent field components are created at design time using the Fields editor, which specifies the fields in the dataset, their properties, and their ordering.
Creating persistent field components guarantees that each time an application runs, it uses and displays the same columns, in the same order, even if the physical structure of the underlying database changes. If a column on which a persistent field component is based is deleted or changed, Delphi generates an exception rather than opening the dataset against a nonexistent column or mismatched data. If this happens, remove the field component for the nonexistent field using the Fields editor.
← →
zx (2002-04-24 10:09) [2]Невизуальный класс.
Страницы: 1 вся ветка
Форум: "Базы";
Текущий архив: 2002.05.20;
Скачать: [xml.tar.bz2];
Память: 0.44 MB
Время: 0.007 c