how to "activate" Spacebar ?

Post Reply
User avatar
Jimmy
Posts: 1740
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany
Has thanked: 2 times

how to "activate" Spacebar ?

Post by Jimmy »

hi,

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

Question : how to "activate" Spacebar by CODE :?:

Code: Select all | Expand

   SENDKEY( CHR(32) )
or

Code: Select all | Expand

   Keybd_Event ( CHR(32), .F. )
   Keybd_Event ( CHR(32), .T. )
does not have any Effect ...
greeting,
Jimmy
User avatar
Antonio Linares
Site Admin
Posts: 42520
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: how to "activate" Spacebar ?

Post by Antonio Linares »

Dear Jimmy,

Please try with:

oControl:PostMsg( WM_KEYDOWN, 32 )

or

oControl:PostMsg( WM_CHAR, 32 )
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply