FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Bug on Listview class
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Bug on Listview class
Posted: Tue Jan 09, 2018 09: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





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 March-April 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Bug on Listview class
Posted: Wed Jan 10, 2018 07: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
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Bug on Listview class
Posted: 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 March-April 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
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Bug on Listview class
Posted: Wed Jan 10, 2018 04: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 March-April 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

Continue the discussion