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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

calendar Control changing Properties

Status
Not open for further replies.

robcarr

Programmer
May 15, 2002
633
GB
Dear All,

Is there a way on the calendar control to only show 1 day in the week, for example Saturday only, as I have a cal control that I only want the person to select the saturday only, or prompt them to say you haven't select a saturday.

any help or suggestions greatly appreciated

 
Well I am unsure why you want to have a calendar to input data if only sats are desire, but you could probably write code with calendar1.value and just accepting saturday dates and prompting the user to click on staurday only. I am assuming you are only providing the calendar as a reference to the dates...
 
There is an example in the help file (I think) of a way to populate a combobox with the next set of Mondays. Have a look for callback functions in the help file. You could modify the code in the example to produce a list of saturday days.

Let me know if you want help with it.

B ----------------------------------------
Ben O'Hara
----------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top