TFileXLS

TFileXLS

Postby oliveiros junior » Fri Sep 29, 2023 1:37 am

Hey guys,

This is a query about TFileXLS. How do I force the text to break within a cell.

+------------------------------+------------------------------+-------------------------------------+
| XXXXXXXXXXXXXXXXXX | ............................. |.................................... |
| XXXXXXXXXXXXXXXXXX | ............................. |.................................... |
+------------------------------+------------------------------+-------------------------------------+
| .............................|............................. |.................................... |
+------------------------------+------------------------------+-------------------------------------+

Thank you in advance for your help.

Oliveiros Junior
oliveiros junior
 
Posts: 125
Joined: Tue Mar 20, 2007 3:13 pm

Re: TFileXLS

Postby Natter » Fri Sep 29, 2023 5:40 am

What means ?
break within a cell


Change cell properties or programmatically enter text with a line break ?
Natter
 
Posts: 1222
Joined: Mon May 14, 2007 9:49 am

Re: TFileXLS

Postby oliveiros junior » Fri Sep 29, 2023 11:05 am

Hi Natter,

Enter text, by programming, with a line break.

regards
oliveiros junior
 
Posts: 125
Joined: Tue Mar 20, 2007 3:13 pm

Re: TFileXLS

Postby Natter » Fri Sep 29, 2023 12:30 pm

Cell property .WrapText = .T.
.value:={"Text"+chr(10)+"text"}
Natter
 
Posts: 1222
Joined: Mon May 14, 2007 9:49 am

Re: TFileXLS

Postby oliveiros junior » Fri Sep 29, 2023 5:01 pm

Thanks Natter.
oliveiros junior
 
Posts: 125
Joined: Tue Mar 20, 2007 3:13 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 87 guests