Print Page | Close Window

Datetimepicker change

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=22139
Printed Date: 28 March 2024 at 6:09am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Datetimepicker change
Posted By: Seniorchef
Subject: Datetimepicker change
Date Posted: 20 December 2013 at 5:49am
Hi!
I'm using Xtreme Suite Controls ActiveX 16.2.6 on Win7 x64 in VB6 environment.
This is my first post in this forum.

I'd like to use the datetimepicker control in my app. Unfortunately there is no way to make the control fire the change event when changed from code, i. e.

 datetimepicker.value = datetimepicker.value +1

increases the date, but no event ist fired. The same comes with

 datetimepicker.checkbox = not datetimepicker.checkbox

whick makes the checkbox mark and unmark, but again, no change event fired.
Is there a known workaround for this issue or even better a permanent solution from CJ?

Regards





Replies:
Posted By: Willowmaster
Date Posted: 24 December 2013 at 7:25am
Put the code from the Change event in a seperate function and call that function after setting the date and checkbox. Easy as that!

-------------
Product: Xtreme SuitePro (ActiveX) version 15.3.1

Platform: Windows XP (32bit) - SP 3 (on VMWare)

Language: Visual Basic 6.0





Posted By: Seniorchef
Date Posted: 26 December 2013 at 5:20am
Hello and Merry Christmas everyone!

Thanks for the reply.

You're right - this is a solution when you know that the change happens or even when you just think it should happen.

For some reason I'd like the control to act like say a textcontrol and fire the event on any change from code or user. This is not lethal but it would ease the design of my software.

I'll take this as a workaround and I hope CJ will fix this issue in one of the coming versions.

Greetings







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