Sign in to follow this  
Followers 0
MajSlayer420

Problem with Combo function

3 posts in this topic

Hello, I'm having a problem,

When a user selects a option in my pulldown menu my script cant activate keyboard commands till the user selects some other option(or tabs out of the input field)

Is there a way I can stop this?

Heres my Code

Global $LogOnTime

$LogOnTime = GUICtrlCreateCombo ("12:00 PM", 150,312,70,200,$CBS_DROPDOWNLIST) ; create first item

GUICtrlSetData(-1,"1:00 PM|2:00 PM|3:00 PM|4:00 PM|5:00 PM|6:00 PM|7:00 PM|8:00 PM|9:00 PM|10:00 PM|11:00 PM|12:00 AM|1:00 AM|2:00 AM|3:00 AM|4:00 AM|5:00 AM|6:00 AM|7:00 AM|8:00 AM|9:00 AM|10:00 AM|11:00 AM","12:00 PM")

Thanks,

MajSlayer420

Share this post


Link to post
Share on other sites



Hello, I'm having a problem,

When a user selects a option in my pulldown menu my script cant activate keyboard commands till the user selects some other option(or tabs out of the input field)

Is there a way I can stop this?

Heres my Code

Global $LogOnTime

$LogOnTime = GUICtrlCreateCombo ("12:00 PM", 150,312,70,200,$CBS_DROPDOWNLIST) ; create first item

GUICtrlSetData(-1,"1:00 PM|2:00 PM|3:00 PM|4:00 PM|5:00 PM|6:00 PM|7:00 PM|8:00 PM|9:00 PM|10:00 PM|11:00 PM|12:00 AM|1:00 AM|2:00 AM|3:00 AM|4:00 AM|5:00 AM|6:00 AM|7:00 AM|8:00 AM|9:00 AM|10:00 AM|11:00 AM","12:00 PM")

Thanks,

MajSlayer420

What do you want it to do after the time is selected? Since the field is basically read-only you won't be able to type anything until you change focus of the control.


EndFuncAutoIt is the shiznit. I love it.

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