>Hi all!
>In the Solution samples, there is a help about “Dynamic formatting using ReportListeners” sample. In the “DynamicFormatting.FRX”, “orders. Shipvia field” , other tab with “user data” there are codes:
>
>I change these code:
>
>But It did not work.
>I would like to change font with name, size, strikethrough, underline… and compound with these properties, how can I change the codes.
>Please help me.
>Thanks
If you are using VFP 9 SP2, you will see a new DYNAMICS tab when you click on a report object. Use that tab to create conditions for applying various formatting changes such as font, color, etc. It works like a CASE statement, so if you have 3 rules listed, it processes the first and if it passes, it appies the formatting and gets out. If not, it moves on and evaluates the next rule and keeps going looking for a rule that passes.
To run the report, you have to make sure one of the ReportListeners in the FFC directory are used. If you just let VFP indirectly instantiate a listener, you're all set because it will do it automatically. By this I mean you SET REPORTBEHAVIOR 90 and just run a report like normal. However, if you try to instantiate a reportlistener yourself, it cannot be the BASE report listener or derived from the BASE. It has to be derived from fxListener (or any of the subclasses of it) in the FFC directory.