Line Breaks With Xbrowse

Line Breaks With Xbrowse

Postby gkuhnert » Mon Aug 18, 2008 1:04 pm

Hi,

in xbrowse, if a column is set to oCol:SetAlign(AL_CENTER), I automatically get a multiline in the field, with automatic line breaks. But if the setting is oCol:SetAlign( AL_LEFT), the whole string always remains in one line, even if the column is too small to display the text. However, when I first align the column to center, than to left again, the line breaks still work. Is there a more elegant way to enforce automatic line breaks with a column aligned to the left? And if there is, is it on purpose, that the line break property, after switching from center to left, is still in place?
Best Regards,

Gilbert Kuhnert
CTO Software GmbH
http://www.ctosoftware.de
User avatar
gkuhnert
 
Posts: 274
Joined: Fri Apr 04, 2008 1:25 pm
Location: Aachen - Germany // Kerkrade - Netherlands

Postby Antonio Linares » Mon Aug 18, 2008 6:18 pm

Gilbert,

After assigning that style, please set oBrowse:nDataLines := nLines, to the desired amount of lines to show, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41365
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 21 guests