Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - How to keep the set date (DateTimePicker)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to keep the set date (DateTimePicker)

 Post Reply Post Reply
Author
Message
Norika View Drop Down
Groupie
Groupie
Avatar

Joined: 30 November 2006
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote Norika Quote  Post ReplyReply Direct Link To This Post Topic: How to keep the set date (DateTimePicker)
    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 SP6
Windows XP Pro Sp3
Codejock Xtreme SuitePro ActiveX 13.3.1
Back to Top
Norika View Drop Down
Groupie
Groupie
Avatar

Joined: 30 November 2006
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote Norika Quote  Post ReplyReply Direct Link To This Post 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)

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.