home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilsd / evntshell / Docs / DatePick < prev    next >
Encoding:
Text File  |  1995-10-22  |  1.2 KB  |  54 lines

  1. This extension library should be installed
  2. using the FNshell_InstallLib routine so
  3. that the variables and storage space can be
  4. set up.
  5.  
  6. The Calendar extension library must also be
  7. loaded.
  8.  
  9. 'DatePick' is a popup dialogue box which allows
  10. the choice of a date from a calendar type
  11. display. Normally the calendar which shows the
  12. current date is opened, but any other calendar
  13. can be displayed.
  14.  
  15. --------------------------------------------------------
  16.  
  17. FNshell_DatePick_Init
  18. =>    None
  19.  
  20. <=    bool    TRUE if module initialised correctly
  21.          FALSE otherwise
  22.  
  23. Normally called automatically when the library file
  24. is loaded by FNshell_InstallLib. If the library
  25. code is appended to the main program instead it will
  26. need to be called to initialise the datepicker module.
  27.  
  28. --------------------------------------------------------
  29.  
  30. PROCshell_AttachPopupDatePicker()
  31. =>    int    window handle
  32.     int    icon handle
  33.     int    display icon handle
  34.     str    function to call when selection is made
  35.     str    function to call before dbox opens
  36.  
  37. Button type of icon dbox is attached to is set to 3
  38. (Click) to ensure that event is received.
  39.  
  40. Notify FN
  41. =>    str    selected date
  42.  
  43. <=    int    no meaning
  44.  
  45. PreOpen FN
  46. =>    int window handle of dbox
  47.  
  48. <=    int    no meaning
  49.  
  50. --------------------------------------------------------
  51.  
  52.  
  53.  
  54.