FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour lAllowColSizing ? - xBrowse
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

lAllowColSizing ? - xBrowse

Posted: Sun Apr 11, 2010 06:05 PM
How can I stop Cols from resizing?
Thanks in advance
Otto
Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM

Re: lAllowColSizing ? - xBrowse

Posted: Sun Apr 11, 2010 06:13 PM

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: lAllowColSizing ? - xBrowse

Posted: Sun Apr 11, 2010 07:47 PM

Hello Bayron,
Thank you. I know about lAllowRowSizing but I search an equivalent for columns.
Best regards,
Otto

Posts: 782
Joined: Wed Dec 19, 2007 07:50 AM

Re: lAllowColSizing ? - xBrowse

Posted: Sun Apr 11, 2010 10:54 PM
Hello Otto:
Otto wrote:I know about lAllowRowSizing but I search an equivalent for columns.

I think you need to prevent each column for resizing using data lAllowSizing. Try this:

AEval( oBrw:aCols, {|oCol|oCol:lAllowSizing := .t. } )

Best regards.
manuelmercado at prodigy dot net dot mx
Posts: 782
Joined: Wed Dec 19, 2007 07:50 AM

Re: lAllowColSizing ? - xBrowse

Posted: Sun Apr 11, 2010 10:58 PM
mmercado wrote:AEval( oBrw:aCols, {|oCol|oCol:lAllowSizing := .t. } )

Sorry:

AEval( oBrw:aCols, {|oCol|oCol:lAllowSizing := .F. )
manuelmercado at prodigy dot net dot mx
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: lAllowColSizing ? - xBrowse

Posted: Mon Apr 12, 2010 08:01 AM

Dear Manuel,
Thank you so much for your help.
Best regards,
Otto

Continue the discussion