How To Print A Notification for when capslock is on

jothis

Active Member
Licensed User
Hi Friends

Can You Please Tell Me How To Print A Notification for When Caps Lock Is On
Like This

while focusing a text box

SEE ATTACHMENT

Please Help Me Jothis

:sign0085:
 

Attachments

  • untitled.zip
    3.6 KB · Views: 187
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
The following code finds the state of the caps lock key with the help of the door library:
B4X:
Sub Globals
    'Declare the global variables here.

End Sub

Sub App_Start
    obj.New1(False)
    obj.CreateNew("System.Windows.Forms.Control" & obj.System_Windows_Forms)

    Msgbox(getCapsLockState)
End Sub

Sub getCapsLockState As Boolean
    Return obj.RunMethod2("IsKeyLocked", "CapsLock", "System.Windows.Forms.Keys" & obj.System_Windows_Forms)
End Sub
 

jothis

Active Member
Licensed User
Thankyou

Thankyou Erel forhelping me

but how to create a baloon tip?

can you please help me?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…