Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveX Calendar
Message
 
To
06/05/2000 10:12:07
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00366351
Message ID:
00367007
Views:
17
Hi Tom,
In the expression:
thisform.currentTime.value=time(this.object.value)
<b>this</b> is a reference to the Olecontainer1.
<b>object</b> is a reference to the activeX control that you "dropped" on
       the container (datetime picker, or calendar).
<b>value</b> is a property of the activeX object.
From "outside" the olecontainer, i.e. anywhere other than a method of the activeX, the right term becomes:
...=time(thisform.olecontainer1.object.value).

As Cetin pointed out, you may have missed the .object reference in the right term of my assignment expressions.

If you press F1 when the activeX control is selected you get the complete PEM list for the activeX.

I'm not sure what you mean by "field" and "variable"... is it:
variable = custom property that you added to your form
field = some text box on the form bound to a field in a table?

dz
Doru
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform