Results 1 to 3 of 3

Thread: CAPLOCK/NUMLOCK state not working.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Location
    Zeist, Netherlands
    Posts
    183

    Default CAPSLOCK/NUMLOCK state not working.

    Hi,

    With the codejock statusbar, you can use a special statusbarpane for "Capslockstatus" and "NumlockStatus".

    In Dataflex 19.1 with Codejock 18.3 this is not working (pane is always empty).
    Can this be fixed or is this a Codejock 18.3 bug?
    The Codejock order sample has the same behavior. So no need for sample code.

    Regards IJmert.

    (fixed this temporary with the following code...)

    Code:
                Object oNumPane is a cCJStatusBarPane
                    Set piWidth to 40
                    // Set piId to sbpIDNumLock
                    Object oIdleHandler is a cIdleHandler
                        Set pbEnabled to True
                        Procedure OnIdle
                            Boolean bHit
                            Move (GetKeyState(VK_NUMLOCK))  to bHit
                            Set psText to (If (bHit,'NUM',''))
                        End_Procedure
                    End_Object
                End_Object
    Last edited by IJmert; 27-Feb-2020 at 10:55 AM.
    I you create laws that are only interpretable by computers you get ruled by a computer...!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •