New topic: CalendarWindow problem with example projects
<http://forums.realsoftware.com/viewtopic.php?t=47551> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message plunkettphoto Post subject: CalendarWindow problem with example projectsPosted: Tue Apr 09, 2013 3:05 pm Joined: Fri Oct 10, 2008 7:14 pm Posts: 78 Dim calendar As New CalendarWindow StartyearField.Text = "13" EndYearField.text = "14" If StartYearField.Text <> "" Then calendar.StartYear = Val(StartYearField.Text) End If If EndYearField.Text <> "" Then calendar.EndYear = Val(EndYearField.Text) End If mSelectedDate.TotalSeconds = calendar.GetDate(mSelectedDate) tfDueDate.Text = mSelectedDate.AbbreviatedDate I have what is to me an unexplainable problem. I copied the calendarWindow from the examples exactly and pasted the window and the calendar and all into my project. All works well on the surface but for some reason when I select a date in the calendar, what gets posted to my selected date is two days advanced - I click april 1 on the calendar window and april 3 is pasted into my selected field. My only changes from the example: I plugged in the startyear and endyear values and changed the name of the selected date field to tfDueDate. anyone got an idea? thanks b Top plunkettphoto Post subject: Re: CalendarWindow problem with example projectsPosted: Tue Apr 09, 2013 3:07 pm Joined: Fri Oct 10, 2008 7:14 pm Posts: 78 NEVER MIND. If I plug 2013 instead of 13 it works properly. sorry. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
