Page 1 of 1

no sizing the column of xbrowse

Posted: Wed May 11, 2022 12:05 pm
by Silvio.Falconi
:lAllowRowSizing := .f.
:lAllowColSwapping := .f.
:lAllowColHiding := .f.

I use these parameters
but the user can move the column .... why ?

why not exit :lAllowRowSizing ?

Re: no sizing the column of xbrowse

Posted: Wed May 11, 2022 7:22 pm
by Otto
Hello Silvio,
maybe you look for:

oBrw:lAllowColSwapping := .f.

Best regards,
Otto

Re: no sizing the column of xbrowse

Posted: Thu May 12, 2022 7:20 am
by Silvio.Falconi
Otto wrote:Hello Silvio,
maybe you look for:

oBrw:lAllowColSwapping := .f.

Best regards,
Otto



Please I wrote
on my config I have allready

WITH OBJECT oBrw
:nRowHeight := 27
:nClrBorder := CLR_GRAY
:lDrawBorder := .t.
* :nColorBox := CLR_HRED
:lHscroll := .f.
:lVscroll := .f.
:l2007 := .f.
:l2015 := .f.
:lAllowRowSizing := .f.
:lAllowColSwapping := .f.
:lAllowColHiding := .f.

:lRecordSelector := .f.
:nRowDividerStyle := LINESTYLE_LIGHTGRAY
:nColDividerStyle := LINESTYLE_LIGHTGRAY
:SetGroupHeader( "Numeri EstrattiĀ ", 1, 6 )
:SetGroupHeader( if( nRadio == 1, "Somme estratti", "Distanze cilometriche" ), 7, 16 )
:nMarqueeStyle := MARQSTYLE_NOMARQUEE
:CreateFromCode()
End


But I have this problem

Image



the final user must not resizing the columns

Re: no sizing the column of xbrowse

Posted: Thu May 12, 2022 8:03 am
by Marc Venken
You need for cols

:lAllowSizings := .f.