Página 1 de 1

TbrowseMod - column freeze & color?

Publicado: Mié Nov 03, 2021 1:14 am
por Hurricane
Hi,

how do I freeze a column?
how do I change the color of a column? (even if the browse is empty)
I found just change cell color and browse

I replace the ArrayBrowse. For me to complete the routine, only these two characteristics are missing.

regards,

Re: TbrowseMod - column freeze & color?

Publicado: Mié Nov 03, 2021 1:16 pm
por ignacio
how do I freeze a column?
No such feature. BTW, on next version there is a new Event that can be used as a Freeze column:

EVENT OnDrawRecSelector( oSender, nItem, BYREF cValue, BYREF nImage, BYREF nClrText, BYREF nClrPane, hDC, aRect )

Yo can also use two browses and synchronize the row using its OnChange event or using the same dataset.
how do I change the color of a column? (even if the browse is empty)
No such feature yet. Next version includes two properies on TBrwColumn object for that purpose:
- lTransparent which defaults to .T.
- nClrPane wich is used to paint the background column when lTransparent is .F.

Regards,