FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour how to "activate" Spacebar ?
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
how to "activate" Spacebar ?
Posted: Sun Jan 15, 2023 04:40 AM
hi,

to "mark" Element in Explorer, when have Checkbox Style, i have to use Spacebar

Question : how to "activate" Spacebar by CODE :?:
Code (fw): Select all Collapse
   SENDKEY( CHR(32) )
or
Code (fw): Select all Collapse
   Keybd_Event ( CHR(32), .F. )
   Keybd_Event ( CHR(32), .T. )
does not have any Effect ...
greeting,

Jimmy
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: how to "activate" Spacebar ?
Posted: Sun Jan 15, 2023 07:40 AM

Dear Jimmy,

Please try with:

oControl:PostMsg( WM_KEYDOWN, 32 )

or

oControl:PostMsg( WM_CHAR, 32 )

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion