LoWang Posted December 29, 2005 Posted December 29, 2005 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!
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