xbrowse multi select

xbrowse multi select

Postby Silvio.Falconi » Sat Mar 26, 2022 11:27 am

I wish select many rows

Image

I try with :SetMultiSelectCol() but is not good for me , I wish select multiple rows and not only one


how should i select multiple rows at the same time?
how should i remove the checkbox from the first column?
how can i have the color orange when i select a row ?

Code: Select all  Expand view

@ 10, 465 XBROWSE  oLbxRuote OF oDlg ;
      SIZE 105,300 PIXEL
      oLbxRuote:SetArray(aRuote)
      oLbxRuote:nMarqueeStyle       :=MARQSTYLE_HIGHLWIN7 //MARQSTYLE_HIGHLROW
      oLbxRuote:nColDividerStyle    := LINESTYLE_LIGHTGRAY
      oLbxRuote:lColDividerComplete := .t.
      oLbxRuote:lRecordSelector     := .f.
      oLbxRuote:lHScroll            := .f.
      oLbxRuote:nHeaderHeight       := 20
      oLbxRuote:nRowHeight          := 20
      oLbxRuote:l2007               := .f.
      oLbxRuote:nStretchCol           := -1
      oLbxRuote:aCols[1]:cHeader    := i18n("Ruote")
      oLbxRuote:aCols[1]:nWidth     := 100

      WITH OBJECT  oLbxRuote
         :lDrawBorder := .t.
         :lHeader     := .f.
         :nRecSelColor     :=   nRgb( 245,244,234)
          :SetMultiSelectCol()
       :CreateFromCode()
       END
 
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: 7052
Joined: Thu Oct 18, 2012 7:17 pm

Re: xbrowse multi select

Postby Silvio.Falconi » Sat Mar 26, 2022 11:32 am

OK ...Now I change the style oLbxRuote:nMarqueeStyle := MARQSTYLE_HIGHLROW

Image


NOW RUN

But I wish to not have the first column ( checkbox ) , How I can do ?
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: 7052
Joined: Thu Oct 18, 2012 7:17 pm

Re: xbrowse multi select

Postby nageswaragunupudi » Sat Mar 26, 2022 5:46 pm

Do not use :SetMultiSelectCol()
Instead set marqueestyle to MARQSTYLE_HIGHLROWMS
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10627
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xbrowse multi select

Postby Silvio.Falconi » Sat Mar 26, 2022 7:33 pm

nageswaragunupudi wrote:Do not use :SetMultiSelectCol()
Instead set marqueestyle to MARQSTYLE_HIGHLROWMS

thanks

but How I can make to select ?
I need to select one or more rows
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: 7052
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 101 guests