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
    Zeist, Netherlands

    Default CAPSLOCK/NUMLOCK state not working.


    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...)

                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',''))
    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