How to keep the set date (DateTimePicker) |
Post Reply |
Author | |
Norika
Groupie Joined: 30 November 2006 Status: Offline Points: 70 |
Post Options
Thanks(0)
Posted: 06 April 2010 at 3:08am |
Dear Sirs,
I use CodeJock DateTimePicker (Ver.13.3.1) now.
I click the CheckBox of a DateTimePicker control to turn Off, last date value is still keep on the control.
But set a "Empty" value from vb code, the date value is gone and change to the defaut? value.
How do I keep last set date after set Empty value by code?
Older version like 13.2.2 is still keep its date value change after like below. ControlName = Empty
Is this a bug or a specification changed?
If it is correct, how do I get or set the checkbox status?
Please see my sample code.
Best Regards,
-- Visual Baisc 6 SP6Windows XP Pro Sp3 Codejock Xtreme SuitePro ActiveX 13.3.1 |
|
Norika
Groupie Joined: 30 November 2006 Status: Offline Points: 70 |
Post Options
Thanks(0)
|
Hi, this reply was written by myself, I can toggle off maintaining the date value to set "Nothing" value on its value property. .Value = Empty ----> .Value = Nothing Value = Empty : date value is purged. CheckBox property and checking status value is not changed. Value = Nothing : keeping the date value (not purged). if CheckBox property is True, the checking status is removed. Please add this discription in your online help (Xtreme Suite ActiveX Controls v13.3 DateTimePicker Control / Value Property) |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |