Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement