Line Breaks With Xbrowse

Post Reply
User avatar
gkuhnert
Posts: 274
Joined: Fri Apr 04, 2008 1:25 pm
Location: Aachen - Germany // Kerkrade - Netherlands
Contact:

Line Breaks With Xbrowse

Post by gkuhnert »

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
Antonio Linares
Site Admin
Posts: 42513
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Post by Antonio Linares »

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
Post Reply