FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Line Breaks With Xbrowse
Posts: 274
Joined: Fri Apr 04, 2008 01:25 PM
Line Breaks With Xbrowse
Posted: Mon Aug 18, 2008 01: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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Line Breaks With Xbrowse
Posted: Mon Aug 18, 2008 06: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

Continue the discussion