wwShowCursor is really old and deprecated. I recommend you take a look at the HtmlGrid in wwHtmlHelpers.prg which provides much more flexible formatting options with full control each column and row.
I have a WC app, and I'm trying to create some fairly simple reports that the user can pull up onscreen, or print as needed. I can manipulate the underlying cursor as needed to get the needed data, but when I send the report to a printer the rightmost 30% or so gets cut off. I've tried adjusting cTableWidth but it doesn't appear to have any impact, so I'm wondering if I have some other setting that is conflicting.
Is there a way to remove the grid lines? Any suggestions for settings for cTableWidth, cTableBorder, cCellPadding, cCellSpacing, or anything else that might make for a tidy, simple report? Any special considerations when printing reports that may extend for many pages, even though they are have only a handful of columns?
Thanks!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
I figured this out, so thought I'd document it here:
1 - I was forcing divider lines (strings of dashes) into my cursor. Those seemed to be forcing the cursors to print off the page.
2 - I found that I could fine-tune the cursor by adding HTML tags within the document: [<style type="text/css">@media print {.noprint {display: none;}}TD {font-size: 8pt}{table border:"1"}</style>]
3 - I wasn't able to completely remove the grid lines, but I'm able to control the formatting to the point of being able to have a nicely formatted report without it just looking like a grid screen-shot.
Once I took care of these two items the cursors began displaying as expected, and now print properly.
Jeff