home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Tool Box
/
SIMS_2.iso
/
vb_code1
/
custctrl
/
mhstate.frm
(
.txt
)
< prev
next >
Wrap
Visual Basic Form
|
1992-07-01
|
3KB
|
60 lines
KeyCC
Keyboard State Custom Controls
ww{www
ww{www
Form1
Label6
State keys will reflect the current state for that key, whether set from the keyboard, set from code, or by clicking directly on that button.
Label5
Key states can be set from code
Command2
Command6
Label1
Set Caps Lock
Picture1
MhState1
MhKeyState
MhState2
MhKeyState
MhState3
MhKeyState
MhState4
MhKeyState
Command3
Command7
Label2
Set Num Lock
Command4
Command8
Label3
Set Insert State
Command5
Command9
Command1
Label4
Set Scroll Lock
Command2_Click
MhState1
Value
Command3_Click
MhState2
Command4_Click
MhState3
Command5_Click
MhState4
Command6_Click
Command7_Click
Command8_Click#
Command9_Click
Command1_Click
KeyCC
Command2_Click
Command3_Click
Command4_Click
Command5_Click
Command6_Click
Command7_Click
Command8_Click
Command9_Click
Command1_Click