Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MonthView Value Property
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00569360
Message ID:
00569506
Views:
17
>>Hi, I´m trying to use the MonthView control and I could not set an initial value, since there´s no Value property, although I can find it in the Help. When I open the Properties table I could not find it. If I open MonthView Properties (right-click last option) I can set it up at Design Time. Am I missing something (it´s my first time using this control).
>>
>>Regards,
>
>Hi José,
>
>Sometimes you have to reference AcyiveX control using Object keyword
ThisForm.Olecontrol1.Object.Value = DATE()
>* instead of
>ThisForm.Olecontrol1.Value = DATE()
First try to reference property of ActiveX control directly. If that doesn't work than try with Object keyword.

Thanks Sergei. One more question, when I try to move to next month (Right Arrow) I get an error "OLE Error Code 0x80020005" in MyForm.MyOLEObject.GetDAyBold...

Any tips?

Regards,
José Augusto Cavalcanti
Global Connection
jose.cavalcanti@globalconnection.com.br
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform