Sage-ST ä

Objcalendar

Documentation

GetDateRange GetSingleDate




  procedure GetSingleDate
             (var   date    : array of char;
              var   Success : boolean); stdcall;

  exports GetSingleDate name 'ObjCalendar_GetSingleDate';

  //*
  //  GetSingleDate - Get a single date from the calendar object.
  //
  //
  //  This procedure is an easy way to use a calendar object to get a
  //  single date from the user.  When this routine is called a calendar
  //  window opens and the user can select a date.   The selected date
  //  will be returned in the Date variable.
  //
  //  CALLING SEQUENCE -
  //
  //    GetSingleDate (Date, Success)
  //
  //  ENTRY -
  //
  //  EXIT -
  //
  //    Date : array of char
  //      If a date is passed in the calendar will start at this date.
  //       When the routine returns this will be the date that the user
  //       has selected or the same date if the user did not select.
  //       NOTE - coming in or out this date should be in Date0 format.
  //
  //    Success : boolean
  //      True - a date was selected.
  //      False - the user did not select a date.
  //




  procedure GetDateRange
             (var   RangeStart : array of char;
              var   RangeEnd   : array of char;
              var   Success    : boolean); stdcall;

  exports GetDateRange name 'ObjCalendar_GetDateRange';

  //*
  //  GetDateRange - Get a range of dates from the calendar object.
  //
  //
  //  This procedure is an easy way to use a calendar object to get a
  //  range of dates from the user.  When this routine is called a calendar
  //  window opens and the user can select the range.   The selected dates
  //  will be returned in the RangeStart and RangeEnd variables.
  //
  //  CALLING SEQUENCE -
  //
  //    GetDateRange (RangeStart, RangeEnd, Success)
  //
  //  ENTRY -
  //
  //  EXIT -
  //
  //    RangeStart : array of char
  //      If a date is passed in the calendar will start at this date.
  //      When the routine returns this will be the range start date that
  //      the user has selected or the same date if the user did not select.
  //      NOTE - coming in or out this date should be in Date0 format.
  //
  //    RangeEnd : array of char
  //      The date that the user has selected to end the range.
  //      NOTE - coming in or out this date should be in Date0 format.
  //
  //    Success : boolean
  //      True - a range was selected.
  //      False - the user did not select a range.
  //




Send mail to   warren.merrill@inl.gov with questions or comments about this web site.
Copyright © 1989-2006 Battelle Energy Alliance