comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: widget_text editable and all_events
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: widget_text editable and all_events [message #65836] Wed, 25 March 2009 11:15
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Vince Hradil writes:

> Well, scenario 2- makes it so that you cannot just backspace out the
> whole thing then start typing. What I would like is for the
> validation to occur if either (1) the user hits CR or (2) the text box
> loses focus (aha!)

It's a good idea, just not that reliable in practice. :-)

If I'm not collecting data from text widgets immediately,
I usually put off validating what is in them until the
user hits the Apply button, or whatever it is that sets
the operation off and makes me require good data. Then
I can do all my checking at once, and give the user
feedback if they need to do something different.

Cheers,

David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: widget_text editable and all_events
Next Topic: Re: Google Groups and ENVI 4.6.1

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:55:28 PDT 2025

Total time taken to generate the page: 0.00555 seconds