Jump to content

Recommended Posts

Posted

For example I have a text input created by guictrlcreateinput and I want it to erase its text when clicked. How can I set such an event handle? GUICtrlSetOnEvent seem to do nothing on this control since its not a button.

Is there any possibility to check special events on controls like keypress or mousedown? I thought that maybe GUICtrlSetOnEvent function will return the id of control which was clicked for example and then I would be able o check that my input was clicked, but it doesn't work, because the @GUI_CTRLID is alway -7 wherever I click! :P

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...