Jump to content


Photo

GUI Control - example of real-time feedback


  • Please log in to reply
2 replies to this topic

#1 dwilbank

dwilbank
  • Members
  • 310 posts

Posted 26 August 2012 - 11:08 PM

Good sirs.
I want to make a piece of text in my GUI update everytime the user types in a GUI Edit box.
A calculation will be run, and the results will be fed back to the GUI real-time without having to hit "OK".
Like the search term field on <!-- w -->www.google.com<!-- w -->.

Now I imagine I could make a timer loop to update the GUI Control at very small intervals, but I bet there's a more elegant way.

Any examples of this I could study?

Thanks

#2 dmg

dmg
  • Members
  • 1749 posts

Posted 26 August 2012 - 11:13 PM

Based on your question, the only thing that comes to mind is the G-Label. But this would run the associated subroutine each time even a single character was added or removed from you control. I am not sure that would suit your purpose. :?

#3 dwilbank

dwilbank
  • Members
  • 310 posts

Posted 26 August 2012 - 11:34 PM

It might!
I'll look into that.
Thx