Subject Re: [IBO] At runtime, a way to access controls properties on an IB_CtrlGrid ?
Author Jason Wharton
> At Runtime :
>
> - First, is there a way to loop on every Panel
> of an IB_ctrlGrid just before "showing" it ?

Just access the data in the buffers of the dataset.
With native IBO there is a whole set of buffer access properties that allow
you to do this.
I think there is a tech info sheet on it on my web-site. I recommend you
give it a look there.

> - Second, if yes, is there a way to access
> the Picture Property of a Timage component
> inserted on these panels ?

Not on a per row basis.

> I mean accessing these panels when the DataSet
> is active and all the panels are "populated".
>
> I use :
>
> - IB_Connection
> - IB_Transaction
> - IB_Query
> - IB_DataSource
> - IB_CtrlGrid : several IB_Edit + TImage

There is only one panel that is replicated at paint time with data pulled
out of the buffers on the fly.

HTH,
Jason Wharton