Listbox on reports makes all other fields BLACK!
Henrik, do not set foreground and background colors in list box formater.
Then of course you will get the standard windows back ground and foreground
colors, because the report thinks every line is selected. This is stupid
since you cannot actively select a line(Clarion oversite).
You must now set the the selected colors for the listbox and the only way I
found to do this is to build your own format string by first generating the
listbox and then go into the report formatter elipses button and copy the
"Format(list box entries)" . Then in the after opening window embed type
?list{prop:format} = "pasted(list box entries)" .
Now remove the word FORMAT from the line you just pasted along with the open
and close parenthesis.
Now the fun and final part, right before the #field number# put this code
"E(,,00H,0FFFFFFH)" for every field in the list box
It's a lot of work for something Clarion should handle automatically or get
the danged list box on a report formatter working correctly.
This make a great screen shot type of report since I pass the queue from the
browse to create it and all sorting and filtering is done at browse level
and not report level.
Warning: I have not tried this in ABC just legacy and C5b
Ashley Stahl
eBusiness- Technologies
Quote:
> Hi all,
> I have a huge problem. Every time I put a listbox on a report it results
in
> all other fields getting printet as black boxes.
> Is this a bug and how to work around?
> I'm using C5P and ABC-templates?
> Regards,
> Henrik Kartin
> Kartin Data
> Denmark