Subject | Re: As I can make that in each Panel of a TIB_ControlGrid appears a order numb |
---|---|
Author | Marco Menardi |
Post date | 2003-12-19T13:31:37Z |
--- In IBObjects@yahoogroups.com, Apicito2003 <apicito2003@y...> wrote:
really ONE panel, and the other are "build" on the fly when they have
to be displayed (this is also the reason why only specially made
controls can be embedded into his panel).
Anyway, since the TIB_ControlGrid way of work is very similar to the
standard VCL control, try google or a VCL list to find the answer too.
regards
Marco Menardi
> As I can make that in each Panel of a TIB_ControlGridI think you can't. TIB_ControlGrid is a "visual trick", since there is
> appears a order number.
> I test to insert a label with this procedure:
> procedure TFr_SesAsunto.GridPaintPanel(IB_CtrlGrid:
> TIB_CtrlGrid;
> RowNum: Integer);
> begin
>
> Label1.Caption:=inttostr(Ib_memo1.DataSource.Dataset.RecNo+1);
>
> end;
> But the Label indicates the Recno of the active
> Register not Panel number.
>
really ONE panel, and the other are "build" on the fly when they have
to be displayed (this is also the reason why only specially made
controls can be embedded into his panel).
Anyway, since the TIB_ControlGrid way of work is very similar to the
standard VCL control, try google or a VCL list to find the answer too.
regards
Marco Menardi