Jump to content

Recommended Posts

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.


Dont think the edit box send's any events, to check if it has changed try this in the eventloop:

Global $EditboxOld
While 1
           Case blabla;your other events
                 do this
           Case else
                 If GuiCtrlRead($Editbox) <> $EditboxOld then
                      $EditboxOld = GuiCtrlRead($Editbox)
                      updateList($EditboxOld); func to update the list

The GUI is still limited in stuff you can do with events for now (hope this will change)

Hope this helps a bit

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...