Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get OLE value
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00271122
Message ID:
00271180
Views:
28
>I was looking through a bunch of the OLE controls in the VFP library and ran across one called DTPicker. It can be used as either a date or time selector. It seems to look and act exactly like the one I had in mind to use with my project, but there's one problem: I can't figure out how to return the current value of the DTPicker box! There are minute, hour, day, month, etc fields, but they're write only. There is no value field.
>
>Has anyone had enough (any?) experience with this OLEControl to tell me how I can return the value (date or time) from this control to use in my application?
>
>Thanks!

Use OLEControl.Object.Value where OLEControl is the name of the Date/Time Picker control that you instantiate. The data type of this value is time.

Doug Stalter

"According to the proverb, the best things are the most difficult." -Plutarch
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform