Lazarus

Programming => LCL => Topic started by: badmintonfan on January 23, 2023, 02:58:57 pm

Title: [Solved]valuelisteditor shows hint
Post by: badmintonfan on January 23, 2023, 02:58:57 pm
How can valuelisteditor shows a hint for whole value string
Title: Re: valuelisteditor shows hint
Post by: Zvoni on January 23, 2023, 03:33:03 pm
Activate "goCellHints" in Options, and set Text in OnGetCellHint?
https://lazarus-ccr.sourceforge.io/docs/lcl/grids/tgetcellhintevent.html
Title: Re: valuelisteditor shows hint
Post by: 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
Title: Re: valuelisteditor shows hint
Post by: badmintonfan on January 24, 2023, 05:16:22 am
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
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
TinyPortal © 2005-2018