Jump to content
Sign in to follow this  
Rex

Edit keeps stealing focus

Recommended Posts

Rex

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
Valuater

just before or after guisetsate(), put in

guictrlsetstate( $nameofinput, $gui_focus)

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
Rex

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  

×