Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with AxtiveX object MonthView

Status
Not open for further replies.

dislar

Programmer
Joined
Nov 16, 2001
Messages
5
Location
ES
If I configure the object for show 12 Months, When I try put bold any day after Nov/30 by modify the daybold(i) property, it don't show they bold.

I have the same plroblem if I call the object from Vbasic.

Thanks,
JM.Rodriguez
 
Dislar

I don't see the daybold(i) property you speak of. Netheir in the Activex propeties, nor the VFP property sheet.

Mike Gagnon
 
the syntax is incorrect.

with monthview
.daybold(monthview1.VisibleDays(1)) = .t.
endwith

VisibleDays is the property that it needs to determine the corrrect. VisibleDays is an array that holds the visible days and can be from 1 to 42. as you move from month to month the information in this property is not preserved. Attitude is Everything
 
Hello.
- For see the dayBold() propertie you must load the control
from VBasic and use te Object Viewer.

- I I have already read in the documentation that limits of daybold() is already 42, but when I show a whole year, I can point to positions of up to 300 and more.

I can do this:

with monthview
.daybold(monthview1.VisibleDays(i)) = .t.
endwith

for visibleDays(i) < {year/11/30}.

Tanhks.
 
I am using the code: thisform.calendar.DayBold(thisform.calendar.VisibleDays(10)) = .t., and I get the error &quot;Function argument value, type, or count is invalid&quot;

Anyone have any ideas with what is wrong?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top