amanda089 Posted May 22, 2005 Share Posted May 22, 2005 When does an editbox send an event? I would like to update a variable as much as possible though only when the editbox data has changed. my script seems to be only recieving an even from the editbox when it loses focus. Link to comment Share on other sites More sharing options...
TuMbLeWeEd Posted May 22, 2005 Share Posted May 22, 2005 When does an editbox send an event? I would like to update a variable as much as possible though only when the editbox data has changed. my script seems to be only recieving an even from the editbox when it loses focus.<{POST_SNAPBACK}>Dont think the edit box send's any events, to check if it has changed try this in the eventloop:Global $EditboxOld While 1 Select Case blabla;your other events do this Case else If GuiCtrlRead($Editbox) <> $EditboxOld then $EditboxOld = GuiCtrlRead($Editbox) updateList($EditboxOld); func to update the list Endif EndSelect WendThe GUI is still limited in stuff you can do with events for now (hope this will change)Hope this helps a bit My AutoIt stuffChatBichProjectSelectorWindow control grabberUsefull LinksPort forwarding with routers Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now