Page 1 of 1

allow row and col sizing swap

PostPosted: Mon Jan 14, 2019 4:59 pm
by Silvio.Falconi
on a xbrowse to block column I made
:lAllowRowSizing := .F.
:lAllowColSwapping := .F.
:lAllowColHiding := .F.

But I can resize the column why ? where is the error ?

Re: allow row and col sizing swap

PostPosted: Tue Jan 15, 2019 3:31 am
by dutch
oBrw:aCols[n]:lAllowSizing := .F.

Re: allow row and col sizing swap

PostPosted: Tue Jan 15, 2019 7:27 am
by Silvio.Falconi
thanks

Re: allow row and col sizing swap

PostPosted: Tue Jan 15, 2019 9:37 am
by Silvio.Falconi
Application
===========
Path and name: C:\Work\Errori\test_ordine2\Servizi.Exe (32 bits)
Size: 4,158,976 bytes
Compiler version: Harbour 3.2.0dev (r1703231115)
FiveWin version: FWH 18.12
C compiler version: Borland/Embarcadero C++ 7.0 (32-bit)
Windows version: 6.2, Build 9200

Time from start: 0 hours 0 mins 0 secs
Error occurred at: 15-01-2019, 10:36:34
Error description: Error BASE/1005 Message not found: TXBROWSE:LALLOWSIZING

Stack Calls
===========
Called from: .\source\function\HARBOUR.PRG => _CLSSETERROR( 247 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:_LALLOWSIZING( 10805 )
Called from: Source\Servizi.prg => SERVIZI( 127 )
Called from: Source\Servizi.prg => MAIN( 30 )

Re: allow row and col sizing swap

PostPosted: Tue Jan 15, 2019 10:44 am
by dutch
for n := 1 to len(oBrw:aCols)
oBrw:aCols[n]:lAllowSizing := .T.
next