XBROWSE select
Posted: Mon Mar 28, 2022 11:37 am

I made
Code: Select all | Expand
@ 20, 466 XBROWSE oLbxRuote OF oDlg ;
SIZE 99,300 PIXEL NOBORDER
oLbxRuote:SetArray(aRuote)
oLbxRuote:nMarqueeStyle := MARQSTYLE_HIGHLROWMS
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
:nRowHeight := 26
:lDrawBorder := .t.
:lHeader := .f.
:lVscroll:= .f.
:lHscroll:= .f.
:nRecSelColor := CLR_HRED
:bClrSel := { || { CLR_BLUE, ORANGE } }
:CreateFromCode()
END
To select one rows I must press shift + click on mouse
How I can make to select one rows with only click with mouse ?
at the beginning the xbrowse selects the first row in fact in oLbxRuote: aselected there is allway 1 as you can see

how I can resolve ?