no sizing the column of xbrowse

Post Reply
User avatar
Silvio.Falconi
Posts: 7138
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

no sizing the column of xbrowse

Post 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 ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Otto
Posts: 6404
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 24 times
Been thanked: 2 times
Contact:

Re: no sizing the column of xbrowse

Post by Otto »

Hello Silvio,
maybe you look for:

oBrw:lAllowColSwapping := .f.

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Silvio.Falconi
Posts: 7138
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: no sizing the column of xbrowse

Post 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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Marc Venken
Posts: 1485
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: no sizing the column of xbrowse

Post by Marc Venken »

You need for cols

:lAllowSizings := .f.
Marc Venken
Using: FWH 23.08 with Harbour
Post Reply