General information
Category:
Forms & Form designer
>>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
Thak you very much for your reply.Although, I am talking about SCREEN FORM not a report form. Thank you again.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only