Listbox on reports makes all other fields BLACK! 
Author Message
 Listbox on reports makes all other fields BLACK!

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



Fri, 18 Apr 2003 19:19:06 GMT  
 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



Sat, 19 Apr 2003 13:05:11 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Making Tk listboxes behave like MS-Windows listboxes

2. What makes SmallTalk better than others?

3. What makes Eiffel better than others?

4. What makes Eiffel better than others?

5. making sure some things resize while others don't

6. trouble making and displaying black and white images...

7. OCX, Crystal Reports and others

8. White on black text in report

9. Fortran Powerstation Quickwin graphics - black on black

10. Black mouse on black canvas

11. Making 2 listboxes move in synch ? VX-REXX

12. making a listbox wider

 

 
Powered by phpBB® Forum Software