Subject | Re: [IBO] IBO treeview |
---|---|
Author | Geoff Worboys |
Post date | 2001-01-28T08:11:25Z |
> This is going to be tough. Im thinking about creatingUse TIB_InterfaceDataLink and set the Control property to the
> subclasses for FieldDataLink, and calling them
> ParentFieldDataLink, KeyFieldDataLink, DisplayFieldDataLink,
> etc... Looks like there will be 4-5 different fields
> required for this component.
>
> Any thoughts?
treeview. This is simply a derivation of TIB_DataLink - no specific
field support. The add string fields to store each of the field names
during design/unprepared stages. When prepared obtain the column
references and assign them to internal TIB_Column properties for
faster access.
In some of my CustomEditEnh derivations I use a FieldDataLink, then
simply a fieldname for the one extra field (DisplayField) that I use
in things like ComboBox. I use that for FieldByName lookups, but for
better optimisation I should probably do what I describe above.
In LookupEnh I use two separate datalinks, but that is because I am
linking to two different datasets. You will find it much simpler to
have only a single datalink per dataset that you need to reference
(IMO).
My thoughts.
Geoff Worboys
Telesis Computing