Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I need a sort of dynamic forecolor property
Message
 
To
14/07/2006 12:39:18
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01136437
Message ID:
01136869
Views:
19
This message has been marked as the solution to the initial question of the thread.
>Hey Boris, Is it really that difficult or I got it bad ?
>Could you tell me a simple way an example to do it easy...otherwise i prefer
>to going on with the old method :-)
>
>Thank you anyway
>Alessio

The example is taken from Solution Samples:

Put in USERDATA field:
(Double Click on Field, go to Other Page and Press "Edit User data" button)
*:EFFECTS FORECOLOR = IIF(Fld1 <0, RGB(255,0,0), RGB(0,0,0))

Then:
loListener = newobject('EffectsListener', forcepath('DynamicFormatting.prg', [c:\Program Files\Microsoft Visual FoxPro 9\Samples\Solution\Europa\]))
loListener.OutputType = 1
REPORT FORM ThisReportYourTest OBJECT loListener
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform