Print Page | Close Window

How to keep the set date (DateTimePicker)

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=16555
Printed Date: 25 August 2024 at 8:13am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to keep the set date (DateTimePicker)
Posted By: Norika
Subject: How to keep the set date (DateTimePicker)
Date 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,
 
https://forum.codejock.com/uploads/20100406_030733_DateTimePicker_.zip - uploads/20100406_030733_DateTimePicker_.zip
 
--
Visual Baisc 6 SP6
Windows XP Pro Sp3
Codejock Xtreme SuitePro ActiveX 13.3.1



Replies:
Posted By: Norika
Date Posted: 07 April 2010 at 9:58pm

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)




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net