Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HTML output and scrollbars
Message
From
29/06/2006 23:26:46
 
 
To
29/06/2006 15:02:30
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01132856
Message ID:
01132969
Views:
14
I have a report that looks exactly as I want when I preview it. When I use the HTMLListener, though, some fields that are marked "Stretch with overflow" show up as the HTML equivalent of editboxes.

Is there a way to turn this behavior off and just have the full text printed?


Ah, Tamar, you should've gone to one of Lisa's sessions over the last couple of years (g,d&r)...

I'm sure you know why HTMLListener uses textareas by default, I won't go into that here.

The HTML is produced via an XSLT transform of an XML version of the report layout + data. Take a look at the contents of the HtmlListener::getDefaultUserXSLTAsString method and you'll see in the default XSLT listing a bunch of XSLT parameters that control various aspects of the process. One in particular is called "useTextAreaForStretchingText".

There's an example in the VFP9.0 Help File (search for the topic "ReportListener HTML Foundation Class") of how to set these parameters to different values during runtime.

Caveat: The process that this example works through will be somewhat changed and improved in Sedna.

- Colin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform