"Asrarahmed Kadri" <[EMAIL PROTECTED]> wrote
> The dialog box, what I think is better than a 'visual warning' ;
> because it
> forces the user to correct the input error that he has made. A
> visual
> warning might be omitted by the user.
I disagree. A dialog box in this situation has two bad
Hey Luke,
The dialog box, what I think is better than a 'visual warning' ; because it
forces the user to correct the input error that he has made. A visual
warning might be omitted by the user.
REgards,
Asrarahmed
On 1/7/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote:
Alan Gauld wrote:
> "Luk
On 07/01/07, Alan Gauld <[EMAIL PROTECTED]> wrote:
> I don;t have PMW installed. I tend to use Tix now that its part
> of standard Python. However Grayson says this:
Does Tix work with py2exe? That's why I gave up on it, a while ago..
> So it seems you need
>
> def numeric(val):
> try: float
"Luke Paireepinart" <[EMAIL PROTECTED]> wrote
>> Its easier for the programmer but much worse for the user.
>> We should always catch erroneous input as early as possible.
>
> The difference between a webpage and an application here is that if
> the
> user enters something incorrectly, he'll know
Alan Gauld wrote:
> "Luke Paireepinart" <[EMAIL PROTECTED]> wrote
>
> OP>> Can some one help me how to add validation : only integers are
> allowed
> OP>> and minimum value should be 1.
> OP>>
> OP>> timeInterval = Pmw.EntryField(label_text='Time Interval(in
> OP>> sec.):',labelpos='w',validate =
"Luke Paireepinart" <[EMAIL PROTECTED]> wrote
OP>> Can some one help me how to add validation : only integers are
allowed
OP>> and minimum value should be 1.
OP>>
OP>> timeInterval = Pmw.EntryField(label_text='Time Interval(in
OP>> sec.):',labelpos='w',validate = 'numeric')
I don;t have PMW ins
Asrarahmed Kadri wrote:
> Hello Folks,
>
> I am using Pmw mdoule to develop a User interface and in that I am
> using entry widget.
>
> Can some one help me how to add validation : only integers are allowed
> and minimum value should be 1.
>
> timeInterval = Pmw.EntryField(label_text='Time
Hello Folks,
I am using Pmw mdoule to develop a User interface and in that I am using
entry widget.
Can some one help me how to add validation : only integers are allowed and
minimum value should be 1.
timeInterval = Pmw.EntryField(label_text='Time Interval(in
sec.):',labelpos='w',validate = 'n