JVCL Help:TJvTFScheduleManager.OnLoadBatch

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs when a batch needs to be loaded.


Pascal

 TJvTFLoadBatchEvent = procedure (Sender: TObject; BatchName: string; BatchStartDate, BatchEndDate: TDate) ofobject;
propertyOnLoadBatch: TJvTFLoadBatchEvent;


Parameters

Parameters Description
BatchStartDate The starting date of the schedule(s) to be loaded.
BatchEndDate The ending date of the schedule(s) to be loaded.
Sender The object that is firing the event.
BatchName The schedule(resource) name.


Description

This event will fire once for each batch that must be loaded.

Note that BatchStartDate and BatchEndDate define a contiguous set of dates that must be loaded. Therefore, if BatchName is Mike, BatchStartDate is 1/1/2000, and BatchEndDate is 1/3/2000 you should load the following schedules:

   Mike - 1/1/2000
   Mike - 1/2/2000
   Mike - 1/3/2000 

Please see "Batch Loading" for more information.


About

Notes

This event will not fire unless SchedLoadMode is set to slmBatch.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page