Sign in to follow this  
Followers 0
Rex

Edit keeps stealing focus

3 posts in this topic

Hi i have createt a gui with some inputs and an edit, but when i run the gui the curcer keeps starting in the edit, simply ignoring that im using guictrlsetstate(-1, gui_focus) on the first of my inputs

How can avoide that the edit steels focus at start up ??

/Rex

Share this post


Link to post
Share on other sites



just before or after guisetsate(), put in

guictrlsetstate( $nameofinput, $gui_focus)

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

just before or after guisetsate(), put in

guictrlsetstate( $nameofinput, $gui_focus)

8)

Dam... how could i overlook that, my self

thx works like a charme

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0