Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alignment With Report Listener
Message
De
24/10/2008 17:19:44
 
 
À
26/09/2008 13:37:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01351025
Message ID:
01357087
Vues:
27
Adding conditional custom-rendering code like Paul's to the Render method
is essentially the answer, thanks -- but I need to
take it one step further. His code sets up line, pen, font, etc., with constant values, but
I need to be able to allow for the fact that other listeners may have set or
manipulated the appearance of the report object via EvaluateContents and its
oObjProperties parameter (i.e., changing its props and then setting Reload=.T.). But
the revised oObjProperties is no longer available during the custom-render.

Obviously, I can add the necessary props to my lead listener and make sure that they are
updated accordingly when any listener updates and reloads oObjProperties. But
can anyone suggest a better way for my custom rendering code to access
those updated object-property values?

-mark

===============================

>Maybe this way?
>
>Re: ReportListener Run-Time field alignment Thread #949327 Message #949746
>
>
>>Alignment is not one of the settings exposed by ObjProperties.
>>Is there a way to use a report listener to programmatically
>>override the Alignment setting of a report object?
>>
>>(Obviously, as a workaround, I can set the
>>Alignment to center, use a monospaced font, and get a Left or
>>Right override by padding the field contents accordingly --
>> but I would prefer not to go that route.)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform