>I have a runtime designed form in which I add some objects like buttons and shapes. The number of objects is not constant.
>
>Somewhere in my project, I need the form to be printed. Each object on it has properties that change when running, such as color, size, pattern etc.
>
>The question is: How can I program a method to print this form?
I assume the form you're talking about is a report form. You can run methods from a report using the SET PROCEDURE TO command prior to printing, then by running an expression upon entering or exiting the detail or group footer. For instance, if you put =MyRoutine() in the On Entry routine of the detail, you can run PROCEDURE MyRoutine, encased in MyProcedure.prg, and even pass it parameters, etc. Then on your way back in use the RETURN with a value (RETURN MyValue).
JR
CLARC Services, Inc.
3500 Tamiami Trail
Port Charlotte, FL 33952
www.clarc.com(941) 743-0108
(800) 246-5488