FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Xbrowse: Allow spacebar to to toggle checkbox column
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Xbrowse: Allow spacebar to to toggle checkbox column
Posted: Fri Jul 28, 2023 04:36 AM
Why is spacebar not detected when column 7 has focus? It works when the focus is on other column
Code (fw): Select all Collapse
      ::oMainBrw:bLDblClick := {|| ::oMainBrw:aCols[7]:checkToggle()}
      ::oMainBrw:bKeyChar   := { |key| if( key == VK_SPACE, eval(::oMainBrw:bLDblClick), nil ) }
TIA
FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Xbrowse: Allow spacebar to to toggle checkbox column
Posted: Sat Aug 05, 2023 09:41 AM

Natively pressing space bar when the column has focus, toggles the value.

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion