From: Rodimus_Prime on
I am trying to use the Microsoft Date and Time Picker Control 6.0 to allow the
user to select dates that have already passed. I can get it inserted into my
piece okay, but I am wondering how to capture the variable that would hold the
date the user selected?

Any thoughts or directions to resources would be appreciated, thanks

From: Mike Baker **Adobe Community Expert** on
Try this..

result := GetSpriteProperty(@"ActiveX...", #Value)

HTH,
Mike
====================
Mike Baker
Adobe Community Expert
mike-baker(a)cox.net


From: Rodimus_Prime on
That's awesome mike. I was able to catch the date when the ActiveX loads for
the first time, but it kinda sucks if the user wants to go back and change the
entry. What's the best way to set up a perpetual calculation icon to constantly
check for changes in the ActiveX, and update the variable? I know working with
controls to watch for the change event variable, does ActiveX have similar
variables that I could watch for?

Jon

From: Mike Baker **Adobe Community Expert** on
Drag in an interaction below the activex icon then attach a calc icon. When
the dialog box asks you for "Response Type" select "Event". Click the little
"E" to open the properties for the event response. On the "Event" tab,
doubleclick the icon with the activex calendar in the "Sender" box. Then
double-click "Change" in the "Event" box. On the "Response" tab, check
perpetual then select "Return" for the "Branch" option. Put the script to
get the property into the calc attached to the icon.

That should do it.

Mike
====================
Mike Baker
Adobe Community Expert
mike-baker(a)cox.net


From: Rodimus_Prime on
Thanks Mike, that's perfect.