set key not run on win 10 ?

Post Reply
User avatar
Silvio.Falconi
Posts: 7170
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 5 times

set key not run on win 10 ?

Post by Silvio.Falconi »

I have
SetKey( VK_F8, {||oApp():HidePanelLeft(oApp():oSplit)} )

and not run on win 10 why ?
on w7 run ok

do you Know alternative ?
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
User avatar
James Bott
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Re: set key not run on win 10 ?

Post by James Bott »

This works fine for me under Win10:

Code: Select all | Expand

#include "fivewin.ch"

Function Main()
   Local oWnd

   SETKEY( VK_F2, { ||  MsgInfo("Hello!" )}  )

   define window oWnd
   activate window oWnd

Return nil


Maybe you are doing your SET KEY before oApp is defined?

The other issue might be function keys with dual options. On my laptop you have to press the [fn][F2] to get the assignment above because there are other default actions for the button keys. Probably since it is a laptop.
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Post Reply