Hide/show group columns on line

Hide/show group columns on line

Postby Silvio.Falconi » Fri May 27, 2022 7:16 am

Can I show or hide a group of columns of a xbrowse ?

sample :
@ nRow ,nCol CHECKBOX aChk[1] VAR ::lBa PROMPT ::aRuote[1] SIZE 100, 20 OF oGrS1 ;
ON CHANGE hidexbrowse( ::oLbx,::lBa)

Function hidexbrowse( ::oLbx,::lBa)
local i,oCol

do case
case ::lba = .t.
nInit := 2
nEnd:= 6
endcase

for i= nInit to nEnd
oCol := ::oLbx:aCols[ i ]
oCol:HIde()
next
::oLbx:refresh()
return nil
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
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 73 guests