Subject | RE: [IBO] Customize text in a TIB_Grid |
---|---|
Author | Armando Novello |
Post date | 2002-11-13T17:08:28Z |
Hi Dimitry
Thank for your reply. (I didn't respond the message before because I was
working outside of the city for some days)
The problem with 'TIB_Grid.OnGetDisplayText' is that this event not give me
a reference to the field, but rather a reference to the column number
related with the field. If the position of the column are changed, the code
that I wrote for event would no longer work.
How do I to obtain a reference to the field before to draw the cell ?.
Thank you very much.
Thank for your reply. (I didn't respond the message before because I was
working outside of the city for some days)
The problem with 'TIB_Grid.OnGetDisplayText' is that this event not give me
a reference to the field, but rather a reference to the column number
related with the field. If the position of the column are changed, the code
that I wrote for event would no longer work.
How do I to obtain a reference to the field before to draw the cell ?.
Thank you very much.
----- Original Message -----
From: Dmitry Beloshistov
To: IBObjects@yahoogroups.com
Sent: Thursday, November 07, 2002 6:37 AM
Subject: Re: [IBO] Customize text in a TIB_Grid
>Hello, Armando!
>You wrote to <IBObjects@yahoogroups.com> on Wed, 6 Nov 2002 22:25:12 -0300:
>
>AN> I need to customize the text shown in a column of a TIB_Grid, for
>AN> example in a boolean field I want it show 'Yes' or 'No'. With the VCL,
I
>AN> used the event 'OnGetText'
>AN> of TField component.
>AN> How can I do this with the TIB_xxx ?
>TIB_Grid.OnGetDisplayText
>WBR, Dmitry Beloshistov AKA [-=BDS=-]
>e-mail: torin@...
___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com