SpinButton and Date

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

SpinButton and Date

Pierre Andrei
Good evening,

I've just subscribed to the list : sorry if the discussion exists already.

My VW version is "VisualWorks® Personal Use Edition, 7.8.1 of 4 janvier
2012", on Win XP

With the GUI painter, I added a SpinButton to my canvas, and I'd like it
to be a Date, initialized with Date today  - I define the VH as (Date
today) asValue.

By the way, I don't know what to set as value-low and high...

The arrows of the SpinButton don't work well :
- a click on the up arrow increase the Date by one day, but it works
only once, not increasing anymore;
- a subsequent click on the down arrow sets the Date one day before
today, without displaying today - and again, it works only once : the
widget displays only yesterday and tomorrow, showing today only at
initialization.

Do you know a solution ? another question : do you know how to define a
specific format for the date (not in the GUI painter choices).

Regards,
Pierre Andréi.

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc