Page 1 of 1

Set Date Time Picker Value on Form Load

Posted: Thu Aug 05, 2010 4:26 am
by Tom7
Hi All

Having a problem setting a DateTimePicker value when the form loads, I was previously using an old version of Stimulsoft and this was working fine DateTimePicker1.Value = Today.AddMonths(-1), put into the load event of the form, to make my default date One Month before today.

I am now using the latest pre release of Stimulsoft (released on Aug 2nd 2010) and this functionality has stopped working?

Anyone any ideas?

Thanks

Set Date Time Picker Value on Form Load

Posted: Thu Aug 05, 2010 8:26 am
by Alex K.
Hello,

Thank you for the bug report. We will fix it.

You can use:
DateTimePicker1.Control.Value = Today.AddMonths(-1)

Thank you.

Set Date Time Picker Value on Form Load

Posted: Thu Aug 05, 2010 8:37 am
by Tom7
Thanks Aleksey

Set Date Time Picker Value on Form Load

Posted: Sun Aug 08, 2010 4:30 am
by Jan
Hello,

Problem fixed. Patch will be included in next prerelease build.

Thank you.