From: <kim...@ya...> - 2005-07-18 18:04:14
|
It's obvious (***NOT***): import datetime date ... def on_initialize(self, event): self.components.caCalendar.date=datetime.date(2005,8,1) ... -- John Schollnick, Benjamin wrote: > Folks, > > I'm using a calendar widget.... But I have run into a issue > that I can't seem > to resolve... > > Is there a way to set the Calendar widget to a specific date? I > see the > SetDate function, but I am unable to find the syntax/format for > that function... > > I need to set the calendar to match the data it is > representing.... > > I briefly checked the samples, but I did not see any that used > the calendar, and > set the date to anything but the default of Now... (The calendar > widget appears > to default to NOW().) > > Any hints? > > - Benjamin > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > > -- |