wx.lib.calendar.CalenDlg,how to set the years range?

Lorne White Lorne.White at TELUS.COM
Tue Oct 2 07:34:16 PDT 2007


The demo is using a SpinButton for the year range which is restricting the lower end to 1980.

See line 120 of the demo Calendar code.

If you are using a similar dialog control, simply open it up for a larger year range.

If you want to get behind the scenes, see the calendar.py module in the Lib.  You will see the year object which you can set with SetYear(year)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20071002/62c964ab/attachment.htm


More information about the wxpython-users mailing list