Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamically setting properties for Rounded Rectangles
Message
 
À
03/04/2009 08:39:01
Tim Muller
Innovative Solutions, Inc.
West New York, New Jersey, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01392953
Message ID:
01392976
Vues:
64
>I can use the Report Listener to change the color of a Field (the old SP0 way, not yet using the Dynamics tab). But when I try to to change the color of a Rounded Rectangle, the change does not take. The Help file discussing the Dynamics tab hints that this is for Fields only.
>
>Am I just doing something wrong or is there a problem here?
>
>
>Tim

For shapes .. the only dynamic properties you can change are the height and the width. For fields you can change the font properties. The reason is that the Dynamics feature coordinates with the "EvaluateContents" and "AdjustObjectSize" methods of the ReportListener class. The EvaluateContents method allows font properties to be changed but isn't called when processing shapes. The AdjustObjectSize method is only called with shape properties and it gives you the chance to alter the size of a shape.


Cathy
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform