Subject | Re: [IBO] Control Grid |
---|---|
Author | Helen Borrie |
Post date | 2006-07-30T03:54:58Z |
At 01:36 PM 30/07/2006, you wrote:
Tdataset-compatible data access components (and the VCL help has
examples) or you can use the TIB_CtrlGrid with the IBO native (TIB_*)
data access components (or, more specifically, via TDatasource and
TIB_Datasource, respectively.) There's no crossover, e.g. mixing
TDataset-comp datasets with TIB_* controls or vice versa.
.
from your set, since all the visual setting stuff in these controls
happens at row level. Scrolling is intended to be via a navigator
control rather than a vertical scrollbar.
That said, if you're using the native IBO d/a and control, you have a
lot of control over the appearance of your data (both current and
non-current records) in the controls via field and ColumnAttributes settings.
Helen
>This looks like an interesting control, but I'm having some trouble usingWhich control grid? You can use the TDBCtrlGrid with the
>it.
>
>
>I have been using the Tdataset compatible components mostly up to this
>point...so I'm not sure what event I can use at the dataset level to format
>the data there.
Tdataset-compatible data access components (and the VCL help has
examples) or you can use the TIB_CtrlGrid with the IBO native (TIB_*)
data access components (or, more specifically, via TDatasource and
TIB_Datasource, respectively.) There's no crossover, e.g. mixing
TDataset-comp datasets with TIB_* controls or vice versa.
.
>I want to format my data before being displayed. I have used theAFAIK, control grids are intended for displaying one record at a time
>GetDisplayText method of my edit boxes and it works fine for the active
>record, but for non-active records it displays unformated data.
from your set, since all the visual setting stuff in these controls
happens at row level. Scrolling is intended to be via a navigator
control rather than a vertical scrollbar.
That said, if you're using the native IBO d/a and control, you have a
lot of control over the appearance of your data (both current and
non-current records) in the controls via field and ColumnAttributes settings.
Helen