Slimelite BBS

Re: Listviews

Back to AMOS_ECHO

From Tom Bampton · 1996-03-31 22:08 · #75519 in AMOS_ECHO

In reply to Listviews by Ross Nicoll

In a message of 25 Mar 96 Ross Nicoll wrote to All:

 RN> Hello! I'm working on my own listview code, and want an opinion,

 RN> To highlite the currently selected item, is it better to:

 RN> a. Waste time putting spaces after the end of the item to pad it out,
 RN>    and changing the backdrop colour.

 RN> b. Wasting memory by having a blank intuitext behind the item, and
 RN>    changing its background colour. This is easiest.

 RN> c. Wasting memory on an image structure that would go behind the item.
 RN>    This is trickiest.

 RN> Or perhaps you have a better suggestion...

Um... i'd say it's easier just to change the forground colour to white or sommit but the background would also be ok... how about drawing a bevel box round it ?

Regards,
 ______  _____  ___ __
/\__  _\/\    \/\   \ \   Internet: eden@aworld.demon.co.uk
\/_/\ \/\ \  \ \ \     \  FidoNet : Tom Bampton@2:254/264.14
   \ \_\ \ \____\ \_\_\_\ BarNet  : Tom Bampton@959:105/0.14
    \/_/  \/____/\/_/_/_/

... They're gonna have to introduce conscription.
    Career Opportunities;  The Clash
--- Spot 1.3a Unregistered
 * Origin: Black Death, 01428 653471, 10PM - 8AM (2:254/264.14)