Jump to content
JohnLM

TValueListEditor - How can I add a wordwrap feature to the Values column?

Recommended Posts

I am just starting to use the TValueListEditor and found out that there is no wordwrap feature.  

 

I have text that are longer than I can see and there is no scroll feature.  Actually, there is, but it does not do what I expect it to do as a scroll (left/right), but even so, it would be too cumbersome to utilize. I would much prefer to have the text wordwrapped.

 

Is there a way I can easily add a custom wordwrap to it?

 

Edited by JohnLM
spelling

Share this post


Link to post
13 hours ago, JohnLM said:

I am just starting to use the TValueListEditor and found out that there is no wordwrap feature.  

 

I have text that are longer than I can see and there is no scroll feature.  Actually, there is, but it does not do what I expect it to do as a scroll (left/right), but even so, it would be too cumbersome to utilize. I would much prefer to have the text wordwrapped.

 

Is there a way I can easily add a custom wordwrap to it?

 

Not easily, no. You would have to draw the text yourself (OnDrawCell event) and also adjust the row height as needed. Perhaps showing the full text in a popup hint would be easier to implement.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×