06-09-2023, 09:14 PM
Oh my God!
Also you with Lenovo ideapad?
Well you are saying Fn+B = Ctrl+Break?
Ok I must correct my democode
Now it works as expeted.
Also you with Lenovo ideapad?
Well you are saying Fn+B = Ctrl+Break?
Ok I must correct my democode
Code: (Select All)
foo = _Exit
Print "Welcome to the _EXIT test code!"
Print "Please press X on the window bar or / and Alt+F4 on keyboard or Ctrl+Break on keyboard and look at results"
Print "press Spacebar to quit program"
View Print 5 To 20
While kb <> 32
kb = _KeyHit
_Delay 2
food = _Exit
On food GOSUB X, CtrlBreak, XCtrlBreak ', AltF4
Wend
End
X:
Print "You have clicked on X of the window or pressed Alt+F4"
Return
'AltF4:
'Print "You have pressed Alt + F4 on keyboard"
'Return
CtrlBreak:
Print " You have pressed Ctrl+ Break on keyboard"
Return
XCtrlBreak:
Print "You have pressed Ctrl+Break on keyboard and you have clicke on X of the window"
Return