Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Num lock on by default (Read 623 times)
ruki
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 11
Joined: Oct 5th, 2023
Num lock on by default
Oct 9th, 2023 at 4:10am
Print Post  
How can I have Num lock to be on by default?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3153
Joined: Oct 19th, 2005
Re: Num lock on by default
Reply #1 - Oct 9th, 2023 at 9:45am
Print Post  
You could simulate a numlock press:

Code
Select All
if (!VirtualKeyboard.NumLocked)
	keyboard.SendKey(MindFusion.UI.Wpf.Key.NumLock); 



or if you don't want to use numpad keys as arrows at all, use UnicodeKey instead of NumPadKey in custom layout.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint