Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MonthView
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00604045
Message ID:
00604608
Views:
28
>My question is about MonthView control.
>I need to mark some days as bold. How can I do this?
>
>(Example code from msdn library doesn't work in VFP!)
>
>ThisForm.MonthView.DayBold(ThisForm.MonthView.VisibleDays(1)) = .T. return an error!

The following works for me:
oForm = CREATEOBJECT('form')
oForm.AddObject('ctlMonth', 'oleControl', 'MSComCtl2.MonthView.2')
oForm.ctlMonth.Top = 2
oForm.ctlMonth.Left = 2
oForm.ctlMonth.Visible = .t.
oForm.Show()
oForm.ctlMonth.Object.DayBold('01/17/2002') = .t.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform