piDogDataView.DataView.PrepareDatePicker

Scope: Public
Event PrepareDatePicker(row as integer, column as integer, byref minDate as datetime, byref maxDate as datetime, byref todayButton as Boolean)
Called before a datePicker is displayed. Use this event to set the minDate as maxDate for the selected cell. Both values are initially nil, and must be set to new date values to limit available dates.


Example:

//some examples to show how a date picker can be configured
//mac and windows only

minDate=new date
minDate.Day=row

maxDate=new Date
maxDate.Month=8
maxDate.day=row

todayButton=false