Normal Topic Popup Calander. (Read 422 times)
drastixnz
Full Member
***
Offline


A Newbie....

Posts: 146
Location: New Zealand
Joined: Nov 29th, 2006
Popup Calander.
Feb 18th, 2008 at 1:12am
Print Post Print Post  
I have a pop up calender, and i was wondering can I place make a date red, that I select.

Thanks in advance


var vDueDate as Date
vDueDate = @Calendar(Loan Date + 10, "Select Client Pay Day or press Esc to cancel")
If (vDueDate < (Loan Date + 1)) Or (vDueDate > (Loan Date + 31)) Then
{
@Msgbox(@Month$(vDueDate) + " " + @Str(@DOM(vDueDate)) + ", " + @Str(@Year(vDueDate)), "is an unacceptable date", "")
}
else
{
Pay Day = vDueDate

}

  
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Popup Calander.
Reply #1 - Feb 19th, 2008 at 1:08am
Print Post Print Post  
You can't make it red in the popup calendar itself. You can make an element red if a bad date is selected. Since you only want to offer about 30 days, you may be better off offering a list of only those dates.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged