Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MonthView
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00604045
Message ID:
00604608
Vues:
25
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform