we have a custom datepicker control that gives random problems (as shown in [login to view URL]). Old code is in the attached unit [login to view URL] . We spent a couple of hours replacing the displayed form with a grid of type TProfGrid (trial available at [login to view URL]). New code is in the attached unit [login to view URL] . The selected coder will fix an issue and add a feature. Issue to fix ======= the calendar grid size (height=200 and width=250) is fixed . The default grid row height should change according to the number of weeks to draw (which can be 4,5 or 6). We have added the command [login to view URL]:=[login to view URL] div (NoOfWeeks+3); but for some reasons it does not work Please fix the problem. Feature to add ========= when the user clicks some part of the screen outside the calendar grid limits, the grid should hide. The effect is that the user selects no new date and the value of property Date does not change. For what we know this can be done by trapping window messages. The coder will add this feature