Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Datetimepicker change
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Datetimepicker change

 Post Reply Post Reply
Author
Message
Seniorchef View Drop Down
Newbie
Newbie
Avatar

Joined: 05 December 2013
Location: Germany
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Seniorchef Quote  Post ReplyReply Direct Link To This Post Topic: Datetimepicker change
    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


Back to Top
Willowmaster View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 July 2010
Location: Netherlands
Status: Offline
Points: 180
Post Options Post Options   Thanks (0) Thanks(0)   Quote Willowmaster Quote  Post ReplyReply Direct Link To This Post 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



Back to Top
Seniorchef View Drop Down
Newbie
Newbie
Avatar

Joined: 05 December 2013
Location: Germany
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Seniorchef Quote  Post ReplyReply Direct Link To This Post 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




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.125 seconds.