gui validation
BlitzMax Forums/BlitzMax Programming/gui validation
| ||
brains not working, why isnt this? |
| ||
It is but the first bit of text is used to activate the gadget. e.g. type in 'h' = 'h' but 'hh' = 'HH'. If that makes sense. <edit> Not sure why ActivateWindow doesn't make it work OK though. |
| ||
which means it isnt working!! |
| ||
.. but you didn't have an ActivateWindow command anyway. <edit> Hmmm... second thoughts it's just not working. Should redrawgadget update the field (doc states "The RedrawGadget command causes the gadget to be redrawn by the underlying Operating System and is not guaranteed to happen immediately. ")? Will setgadgettext be actioned immediately or on some OS command (movewindow) which activates the gadget redraw? |
| ||
it seems to be a problem with passing the unhandled gadget events like window move etc, these and other events and an unkonown event seem to que up... |
| ||
can anyone see whats going on? |
| ||
Chris, This works. I'm guessing calling pollevent from eventhook could be dodgy |
| ||
hmm odd that, wonder why you cant pollevent in an event hook... |