TIP: Click on subject to list as thread! ANSI
echo: qedit
to: ALL
from: JORJ STRUMOLO
date: 1995-07-12 16:39:00
subject: TSE: conditional keypad

 I usually have NumLock off, and use the keypad cursors for movement.
 When I want a few numbers from the keypad, I often don't turn on NumLock,
 but use the Shift key.  In most programs this works fine, but TSE's
 driver is off, and to get that to work, you had to use assignments like
   InsertText("4")
 This is fine if NumLock is off, but it's hardwired, so it's incorrect
 when NumLock is on, when Shift should override the NumLock to produce
 Left() again.  I was reading, and figured out how to get the correct
 response in either case, with assignments such as:
          if GetKeyFlags() & _num_lock_depressed_
                     mDelChar() else InsertText(".") endif
   if GetKeyFlags() & _num_lock_depressed_
                     Down() else InsertText("2") endif
 And so on.  This doesn't improve the situation with the shifted grey
 cursors, since they're still incorrectly equated with the shifted
 keypad cursors, but it's a start.
 -- SPEED 2.00 #1019: The color of truth is grey. * Gide
--- QScan/PCB v1.17b / 01-0175
---------------
* Origin: Eagle's Nest Comm., Inc Prov, RI 401-621-4600 (1:323/150)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.