ListCalCtrl

 

List Calendar Control group dropped on a window.

 

The ListCal Listbox Calendar is a low resource Selector Calendar that only uses

 

One string
7 buttons
A listbox
14 columns in the listbox
Styles to support the colors.

 

It supports double click selection, and standard Hot key movements and buttons.

 

Alert(PgDnKey)       !Next Month

Alert(PgUpKey)       !Previous Month

Alert(CtrlPgDn)       !Next Year

Alert(CtrlPgUp)       !Previous Year

Alert(HomeKey)      !Today

Alert(EndKey)         !Back to Bs:PrevDate displayed.

 

The single arrow buttons will advance or decrease a week at a time.

 

ListCalTpl  

 

The date display format is for the string above the calendar displaying the selected date.

 

The 'From(INI) WeekStarts Mon,Sat Colors' retrieves information for calendar startup from an ini file.

The ini file is selected below. A variable can be used for the Ini file by beginning the name with an '!'

 

'This Calendar is a selector' automatically allows double click to select the date, close the window, and return to the calling procedure using passed parameters or the ini file depending on the next selections.

 

'Use Passed Parameters' will used parameters instead of the default ini for passing dates.  You will need to setup the Prototype manually to (long),long as shown with the red arrows in the procedure screen shot below.

 

'Setup Passed Parms for me' will automatically setup the Parameters and Return Value as shown in procedure screen shot below.

 

Remember to Check the box, Declare Globally if you are using for a Date selector.

 

ListCalProc

 

Setup the Days Headings to appear in the Column Headers on the listbox.

 

DaysTpl