Search found 200 matches: setkey

Return to advanced search

Re: xbrowse problem with :bLClicked

> what is "KL" ? In the code snippet I provided, "KL" is a keyboard shortcut that is set using the SetKey() function. It's a way to delay the execution of the Edit_Comuni() function. When you set a keyboard shortcut using SetKey(), Harbour will wait for the user ...
by Silvio.Falconi
Mon Apr 22, 2024 7:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse problem with :bLClicked
Replies: 5
Views: 100

Re: xbrowse problem with :bLClicked

> what is "KL" ? In the code snippet I provided, "KL" is a keyboard shortcut that is set using the SetKey() function. It's a way to delay the execution of the Edit_Comuni() function. When you set a keyboard shortcut using SetKey(), Harbour will wait for the user ...
by Antonio Linares
Mon Apr 22, 2024 5:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse problem with :bLClicked
Replies: 5
Views: 100

METHOD PROCEDURE ?

... PROCEDURE Destroy() CLASS TPQserver METHOD PROCEDURE TraceOn( cFile ) CLASS TPQserver METHOD PROCEDURE TraceOff() CLASS TPQserver METHOD PROCEDURE SETKEY() CLASS TPQquery these Method have no RETURN Value Question : what are those Method use PROCEDURE for :?: what is the Difference of CREATE CLASS ...
by Jimmy
Tue Jul 25, 2023 10:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: METHOD PROCEDURE ?
Replies: 1
Views: 170

Re: Fivewin Setkey(ALT + F2, {|| ...} ) ?

hi Antonio, Usually you associate Alt to a menuitem action that will be executed: hm ... :idea: Workaroud   MENUITEM "Left"  + Chr(9) + "Alt+F1" ;    ACCELERATOR ACC_ALT, 65648 ;    ACTION MsgInfo("Alt+F1")   MENUITEM "Right" + Chr(9) +...
by Jimmy
Mon Oct 31, 2022 10:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin Setkey(ALT + F2, {|| ...} ) ?
Replies: 10
Views: 582

Re: Fivewin Setkey(ALT + F2, {|| ...} ) ?

hi Enrico,
Enrico Maria Giordano wrote:
Jimmy wrote:why is GetKeyState( VK_MENU ) not recognize :?:

Try GetAsyncKeyState( VK_MENU ). Works fine here.

still can not get any Result for VK_MENU :(

i got Result for GetKeyState( VK_CONTROL ) and GetKeyState( VK_SHIFT ) but not for GetKeyState( VK_MENU )
by Jimmy
Mon Oct 31, 2022 10:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin Setkey(ALT + F2, {|| ...} ) ?
Replies: 10
Views: 582

Re: Fivewin Setkey(ALT + F2, {|| ...} ) ?

Armando wrote:Enrico:

In my example

GetAsyncKey(VK_SHIFT,VK_TAB)

Works fine.


Please try with

Code: Select all  Expand view
GetAsyncKey(VK_SHIFT)


It should be the same.
by Enrico Maria Giordano
Mon Oct 31, 2022 6:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin Setkey(ALT + F2, {|| ...} ) ?
Replies: 10
Views: 582

Re: Fivewin Setkey(ALT + F2, {|| ...} ) ?

Enrico:

In my example

GetAsyncKey(VK_SHIFT,VK_TAB)

Works fine.

If I push the TAB key only, the focus jumps to the next GET, but
If I push both keys, VK_SHIFT + VK_TAB, the focus jumps to the previous GET.

Regards
by Armando
Mon Oct 31, 2022 5:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin Setkey(ALT + F2, {|| ...} ) ?
Replies: 10
Views: 582

Re: Fivewin Setkey(ALT + F2, {|| ...} ) ?

Armando wrote:Jimmy:

Here is an other sample

IF GetAsyncKey(VK_UP) .OR.;
GetAsyncKey(VK_SHIFT,VK_TAB)
RETURN (.T.)
ENDIF

Regards


GetAsyncKey() takes only one argument.
by Enrico Maria Giordano
Mon Oct 31, 2022 5:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin Setkey(ALT + F2, {|| ...} ) ?
Replies: 10
Views: 582

Re: Fivewin Setkey(ALT + F2, {|| ...} ) ?

Jimmy:

Here is an other sample

IF GetAsyncKey(VK_UP) .OR.;
GetAsyncKey(VK_SHIFT,VK_TAB)
RETURN (.T.)
ENDIF

Regards
by Armando
Mon Oct 31, 2022 5:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin Setkey(ALT + F2, {|| ...} ) ?
Replies: 10
Views: 582

Re: Fivewin Setkey(ALT + F2, {|| ...} ) ?

Jimmy wrote:why is GetKeyState( VK_MENU ) not recognize :?:


Try GetAsyncKeyState( VK_MENU ). Works fine here.
by Enrico Maria Giordano
Mon Oct 31, 2022 8:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin Setkey(ALT + F2, {|| ...} ) ?
Replies: 10
Views: 582

Re: Fivewin Setkey(ALT + F2, {|| ...} ) ?

hi Antonio, thx for Answer do you know "Total Commander" ( Norton Commander ) ALT + F1 left Drive Select Combobox ALT + F2 right Drive Select Combobox --- to use SHIFT, CONTROL and ALT i can build 4 x 12 Fn-Key how under Fivewin :?: --- does F1 "only" work with "Help" :...
by Jimmy
Mon Oct 31, 2022 8:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin Setkey(ALT + F2, {|| ...} ) ?
Replies: 10
Views: 582

Re: Fivewin Setkey(ALT + F2, {|| ...} ) ?

Pressing F1 you get this call by default (Class TWindow):

Code: Select all  Expand view
  // Generated by pressing F1 on an open Menu

   METHOD Help() INLINE ::HelpTopic()

So all you need is to redefine the Method Help()
by Antonio Linares
Mon Oct 31, 2022 7:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin Setkey(ALT + F2, {|| ...} ) ?
Replies: 10
Views: 582

Re: Fivewin Setkey(ALT + F2, {|| ...} ) ?

Dear Jimmy, Usually you associate Alt to a menuitem action that will be executed:      MENUITEM FWString( "Save &as..." ) + Chr( 9 ) + "Alt+A" ;         MESSAGE FWString( "Saves the active file under a new name&...
by Antonio Linares
Mon Oct 31, 2022 7:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin Setkey(ALT + F2, {|| ...} ) ?
Replies: 10
Views: 582

Fivewin Setkey(ALT + F2, {|| ...} ) ?

hi, how do i use ALT + F2 as "Key" to call a ACTION :?: --- i found in Help File ON KEYDOWN but search under \Sample there is no File use it :shock: when search for KEYDOWN only i found   :bKeyDown   := { |nKey| DoMyKey(nKey) } so i wrote STATIC PROCEDURE DoMyKey(nKey...
by Jimmy
Mon Oct 31, 2022 4:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fivewin Setkey(ALT + F2, {|| ...} ) ?
Replies: 10
Views: 582

Re: XBROWSE and any Key

... with it and then see the default XBrowse code. thx for Sample. i will try it and "see" how it work Question : will it work when have SETKEY( ASC( "F" ), { || SwitchFull() } ) it seems me when type "f" it will always use SETKEY() ...
by Jimmy
Mon Aug 01, 2022 7:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE and any Key
Replies: 9
Views: 702
Next

Return to advanced search

cron