Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_olecalendar
Message
 
 
À
13/10/2006 18:25:48
Justin Roper
The Cadle Company
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
01161935
Message ID:
01161938
Vues:
20
>I am using the _olecalendar.vcx class on a form. When I try to use the GETDAYBOLD event to bold a certain date I keep having problems with the 'state' lparameter. What is this used for. I'm not sure what I need to put in the GETDAYBOLD event to make this bold a certain day. Can anyone point me in the right direction.

Hi Justin,

A sample code below shows how to make all Sundays bold
*** ActiveX Control Event ***
LPARAMETERS startdate, count, state
ldDate = TTOD(startdate)

FOR i=1 TO count
	IF CDOW(ldDate) = "Sunday"
		state(i) = .T.
	ENDIF
	ldDate = ldDate + 1
ENDFOR
Check also Re: MonthView and GetDayBold error -- again Thread #546030.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform