S
serenesky
Unregistered / Unconfirmed
GUEST, unregistred user!
我需要在Run_Time时动态的为TclientDataSet加入一个TField
请问该如何办
在TField.Create的帮助中这样说
Do not create TField instances. TField is an abstract base class which should not
be directly instantiated. The constructor for descendant classes is usually called
indirectly by using the Fields editor at design time to create a persistent field
component. Dataset objects also call field constructors automatically to create
dynamic field components.
After calling the inherited constructor, TField initializes the Visible property
to True.
好像是没有办法动态生成
请问有其他办法吗
请问该如何办
在TField.Create的帮助中这样说
Do not create TField instances. TField is an abstract base class which should not
be directly instantiated. The constructor for descendant classes is usually called
indirectly by using the Fields editor at design time to create a persistent field
component. Dataset objects also call field constructors automatically to create
dynamic field components.
After calling the inherited constructor, TField initializes the Visible property
to True.
好像是没有办法动态生成
请问有其他办法吗