![]() |
Datetimepicker change |
Post Reply ![]() |
Author | |
Seniorchef ![]() Newbie ![]() ![]() Joined: 05 December 2013 Location: Germany Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
Willowmaster ![]() Senior Member ![]() ![]() Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Seniorchef ![]() Newbie ![]() ![]() Joined: 05 December 2013 Location: Germany Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
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 |