View Full Version : Can't click on a control
GrimmSpector
March 5th, 2016, 00:30
What various things might cause this? I've tried bringing it to front, to make it clickable to edit, but currently the only way I can edit this numberfield is to tab to it.
On a related note, how can I remove controls I've flagged as read only from the tab order? Thanks!
damned
March 5th, 2016, 04:28
Set the prev and next tab tags in the elements that are editable. of course that wont stop someone clicking on a non editable one but it will fix your tab order.
GrimmSpector
March 5th, 2016, 05:00
Hrmmm xml tags, didn't think of that, I'll check the refdoc, may have to set them through the script in the end though, since I did the control sets dynamically. is nice to be able to do many controls with a small set of code, going to be important for the hundred or so skills I have to setup, should in fact use pretty similar setup code.
No ideas on why I can't click the one control
Moon Wizard
March 5th, 2016, 19:21
You can also set the disabled tag for an extension, which will remove keyboard/mouse interaction.
For the click ignore, most likely, the control is covered over by another. Also make sure not read only / disabled.
JPG
GrimmSpector
March 6th, 2016, 20:00
You can also set the disabled tag for an extension, which will remove keyboard/mouse interaction.
For the click ignore, most likely, the control is covered over by another. Also make sure not read only / disabled.
JPG
I thought covered initially, but it's anchored to it's neighbours, and only a frame behind it, I also tried the bringtofront function, just in case, but no luck...
Moon Wizard
March 6th, 2016, 22:44
If you add an onReceiveClick event to the control with a Debug.chat or Debug.console statement inside, and the statement does not trigger, that means that the click never gets to the control.
This means that it is either being skipped (disabled or potentially read only), or there is another control covering it in the hierarchy (it could be in a higher or lower level window as well).
Regards,
JPG
GrimmSpector
March 7th, 2016, 00:11
Higher or lower level window, interesting, I'll have to play around with it to find out I suppose. I'll try that event, I suspect it won't fire, thanks Moon.
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.