I try to use this code in a grids GridPrintDone,
myGrid.PrintSettings.Orientation:=poPortrait;
I get an error: Unknown "poPortrait"
I have the AdvGrid in Uses.
What am I doing wrong?
Regards,
Ole
I try to use this code in a grids GridPrintDone,
myGrid.PrintSettings.Orientation:=poPortrait;
I get an error: Unknown "poPortrait"
I have the AdvGrid in Uses.
What am I doing wrong?
Regards,
Ole
Add unit Printers in the uses list.