Bug on Listview class

Bug on Listview class

Postby Silvio.Falconi » Tue Jan 09, 2018 9:27 pm

If I use the method

oList:lPopUp :=.t.

i can show a menu popup to change the visualization of Icons

but if I select one selection of the menu it draw with the mouse a dotted box

and then the final user can select all files and it is no good for me as you can see here

Image



How I can to not draw the dotted box with the mouse
it seem as attach the mouse to the control
any solution ?
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: 7084
Joined: Thu Oct 18, 2012 7:17 pm

Re: Bug on Listview class

Postby Antonio Linares » Wed Jan 10, 2018 7:57 am

Silvio,

It seems as you need to use the style LVS_SINGLESEL

Please modify the class source code and test it, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42148
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Bug on Listview class

Postby Silvio.Falconi » Wed Jan 10, 2018 12:19 pm

where I must modify on CLASS TListView
LVS_SINGLESEL value ?
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: 7084
Joined: Thu Oct 18, 2012 7:17 pm

Re: Bug on Listview class

Postby Silvio.Falconi » Wed Jan 10, 2018 4:00 pm

I try with

#define LVS_ICON 0
#define LVS_SMALLICON 2
#define LVS_LIST 3
#define LVS_SINGLESEL 4

oList:WinStyle(LVS_SINGLESEL,.T.)


but is the same
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: 7084
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], SantaCroya and 47 guests