Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 28 Mar 2024, 21:23

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: line break
PostPosted: 14 Sep 2021, 20:15 
Offline

Joined: 10 Aug 2021, 23:30
Posts: 8
Is there any property that automatically wraps large texts?


Top
 Profile  
 
 Post subject: Re: line break
PostPosted: 15 Sep 2021, 19:03 
Offline

Joined: 08 May 2014, 18:06
Posts: 660
Hello

It depends on the component you are using.

---
For example, in the TDBEditEh component, you need to set properties:
AutoSize = False
Set Height property so that the height of the control is more than one line of text.
and set WordWrap = True

---
In the DBGridEh cells:
There is also TDBGridColumnEh.WordWrap property which should be set to True.
In this case, the height of the cell must be more than one line of text.

You can set TDBGridEh.RowHeight and RowLines to change row height.

Or you can set TDBGridEh.OptionsEh.dghAutoFitRowHeight. In this case, the row heights will be calculated automatically to fit all the text in the cell.

_________________
Best regards
EhLib Support Team


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group