Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic shapes in a report
Message
De
19/02/2014 09:38:56
 
 
À
18/02/2014 08:24:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01594564
Message ID:
01594659
Vues:
71
>Hi All,
>
>In vfp9 sp2 it is possible to dynamically set the Height and Width of a shape in a report. However, I also want to dynamically set the Left. Any suggestions?

Hi Peter

You can probably do some of usual trickery to get around this FRX limitation, however if you need more of dynamic features you
might wanna take a look at www.report-sculptor.com

Once you implement RS within your environment, you can use form/form objects to create truly OOP dynamic reports. Within this paradigm, you directly control firing of report bands (form containers in this case) where you can use standard OOP approach to manipulate objects at run time.
So moving that shape of yours would look something like ;
.
oRS.FlashContainer(thisform.myGroupHeaderBand)
.
&&on the fly manipulation of report content 
thisform.myDetailBand.MyShape.left = thisform.myDetailBand.MyShape.left - 50   &&move to the left
thisform.myDetailBand.MyShape.left = thisform.myDetailBand.MyShape.left + 50   &&move to the right 
.
.
oRS.FlashContainer(thisform.myDetailBand)
.
.
See attached picture to get better idea how does work reality. It is demo sample modeled after real life report which has completely non standard flow/grouping.
Hence free report design / flow being one of the main ideas of RS.

HTH
Sergio
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform