Forum > LCL

[Solved]valuelisteditor shows hint

(1/1)

badmintonfan:
How can valuelisteditor shows a hint for whole value string

Zvoni:
Activate "goCellHints" in Options, and set Text in OnGetCellHint?
https://lazarus-ccr.sourceforge.io/docs/lcl/grids/tgetcellhintevent.html

wp:
Set ValueListEditor.ShowHints=true and activate goTruncCellHints in ValueList.Options (you may also want to add goCellEllipsis to the Options).

https://wiki.lazarus.freepascal.org/Grids_Reference_Page#Cell_hints

badmintonfan:

--- Quote from: wp on January 23, 2023, 03:58:57 pm ---Set ValueListEditor.ShowHints=true and activate goTruncCellHints in ValueList.Options (you may also want to add goCellEllipsis to the Options).

https://wiki.lazarus.freepascal.org/Grids_Reference_Page#Cell_hints

--- End quote ---
I did check all above options but write ValueListEditor.ShowHints:=true manually on my code,whatever the property is true of false on the propterty pannel.
That is the reason,I think,it's a bugger

Navigation

[0] Message Index

Go to full version