Main Board > Programming

list_box with line borders or alternate colors?

(1/1)

Cedric:
Hi,
my customer complains about readability of a specific list_box and would like borders or alternate colors between each line?  I was looking in the documentation, but couldn't find anything about this?  I know I could use mnemonic to manually change the color line by line, but was wondering if there was a property or function that already existed before I alter my program to force this?

RobL:
Hi,

I think the ‘BackHiLight1$ property is what you’re looking for. Here’s a link to to the page in the docs:
https://manual.pvxplus.com/PXPLUS/properties/backhilight1_.htm

Regards,
Rob Leighton
Riverwood Enterprises Inc.

Jane Raymond:
You can also do this system-wide using:
PRINT 'OPTION'("StdRowHilight1",color$),

Mike King:
If you are using Nomads you can set the Highlight1 (and 2) colors for the specific list box in the control properties -- (Font/Color tab).

Also if using a Report view style of list box you can enable grid lines which will provide 'borders' between each line (and potentially each column) in the list box -- (Attributes tab).

Cedric:
Super!  Thanks guys!

Navigation

[0] Message Index

Go to full version