FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xbrowse multiselect cell
Posts: 434
Joined: Wed Jun 06, 2007 02:58 PM
xbrowse multiselect cell
Posted: Mon Sep 05, 2022 01:24 PM
Hi to all, my problem,
in my xbrowse I have
Code (fw): Select all Collapse
oBrw:nMarqueeStyle  := MARQSTYLE_HIGHLCELL

and I'd like multiselect cell with CTRL + mouse click like xbrowse multiselect when

Code (fw): Select all Collapse
:nMarqueeStyle := MARQSTYLE_HIGHLROWMS


how can I do it?

thank you

(xHarbour 17.09)
FiveWin for xHarbour 24.02 - Feb. 2024 - Embarcadero C++ 7.60 for Win32 Copyright (c) 1993-2023

FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)

Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
Posts: 1344
Joined: Wed Nov 16, 2005 09:14 PM
Re: xbrowse multiselect cell
Posted: Mon Sep 05, 2022 03:42 PM
Puedes usar:
Code (fw): Select all Collapse
oBrw::SetMultiSelectCol()
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xbrowse multiselect cell
Posted: Mon Sep 05, 2022 05:20 PM
damianodec wrote:Hi to all, my problem,
in my xbrowse I have
Code (fw): Select all Collapse
oBrw:nMarqueeStyle  := MARQSTYLE_HIGHLCELL

and I'd like multiselect cell with CTRL + mouse click like xbrowse multiselect when

Code (fw): Select all Collapse
:nMarqueeStyle := MARQSTYLE_HIGHLROWMS


how can I do it?

thank you

(xHarbour 17.09)


First Shift-Click on the current row or any other row. Then the behavior automatically changes to MARQSTYLE_HIGHLROWMS, though visually CELL is highlighted. Shift-Click and Ctrl-Click start working just like HIGHLROWMS.
This behavior continues till the selected block is cleared by normal clicking on any other cell.

Please try
Regards



G. N. Rao.

Hyderabad, India

Continue the discussion