Quote:
1) Print multiple pages with 1 month (or 1 week) per page (PlannerVertDayslineViewEh , PlannerHorzDayslineViewEh, ...)
Unfortunately the current printing functionality does not support such fine tuning.
May be you can explore source codes of TPlannerControlPrintServiceEh and write your version of printing to support it.
Quote:
2) Get the date of the selected cell? (I manage to get it but this is very complicated)
You can use next code to get date of the current selected cell.
Code:
type
TCustomPlannerViewEhCrack = class(TCustomPlannerViewEh);
procedure TfrFrameOne.Button2Click(Sender: TObject);
var
CellDate: TDateTime;
PlnView: TCustomPlannerViewEhCrack;
begin
PlnView := TCustomPlannerViewEhCrack(PlannerControlEh1.ActivePlannerView);
CellDate := PlnView.CellToDateTime(PlannerControlEh1.ActivePlannerView.Col, PlannerControlEh1.ActivePlannerView.Row);
ShowMessage(DateTimeToStr(CellDate));
end;
Quote:
3) Export planner in PDF directly directly by programming
EhLib and VCL doesn't have objects to export to PDF.
May you can use special type of Windows virtual printers that export all printing stuff to the pdf files.