Link to home
Start Free TrialLog in
Avatar of daniellyh
daniellyh

asked on

get multiple days highlighted in calendar control

hi all experts,
i m looking for a calendar control that can "hightlight" multiple days.

for e.g suppose i want to display the leave taken for a staff in yr 2004, i want to
put 12 calendars in 1 form that represent each month, n get leave day highlighted (data
get from db).

i tried microsoft calendar control b4, but it can't fulfill my above requirement.i think may b i need to use some 3rd party calendar control. may b u all hav some idea for me.

hope some one would help.thx.

daniel
Avatar of daniellyh
daniellyh

ASKER

hi,

no one can help on this?

daniel
hmmmmm
ASKER CERTIFIED SOLUTION
Avatar of p_sie
p_sie
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
hi,

let me try on it.

daniel
hi psie,

the codes at https://www.experts-exchange.com/questions/21002828/Database-Calendar.html#11195240

works fine. but i dun understand wat nvierros as u abt "vbcr or vblf"?is it properties of flexgrid?

1 more thing i need ur suggestion is, lets say i wan to highlight few days on that flexgrid, based on certain conditions, is it better for me to do it when loading every single day (mean i do checking when loading every single day), or i do it after i load all the day?

i scare if i do it in every single day, the loading of the calendar will be slow, n if i do it after i load all the days, the checking will b quite troublesome (or need longer codes).

wat is ur suggestion?

thx.

rgds,
daniel

About the vbcr and vblf, that is needed when you fill the days, vblf stands for linefeed and vbcr stands for carriage return. Normally in VB you use vbcrlf , but when you do that in a flexgrid, you would get the following symbol (||) in your text, using vblf you will not.

about selecting the days, that's dependant of your code, maybe you could show me some code, so that I can see how you select the days, cause I cannot suggest anything now.

Good luck,

P_sie
hi psie,

i can solve that problem, thx.

ur codes work well. well done.

rgds,
daniel
thanks , Good luck!