Jump to content

Recommended Posts

Posted

i read the help and i think the only default type is password type.

is there a way to make the default case CAPS - any ideas?

thanks much

Posted

This is a bit ugly, but it works:

Opt("GUIOnEventMode",1)
Global $string=""
GUICreate("Hello",300,200)
$edit=GUICtrlCreateEdit("",10,10,280,180)
GUISetOnEvent(-3,"close")
GUISetState()
while 1
    If $string<>GUICtrlRead($edit) Then
        GUICtrlSetData($edit,StringUpper(GUICtrlRead($edit)))
        $string=GUICtrlRead($edit)
    EndIf
    
    sleep(10)
WEnd

FUnc close ()
Exit
EndFunc

:)

Broken link? PM me and I'll send you the file!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...