Hi Craig,

draw it by yourself!

In the Windows Paint' event, somethinglike:

g.ForeColor = myColor // myColor is the colour you like:who suit your needs
g.DrawRect LB.Left-1,LB.Top-1, LB.Left+LB.Width+1,LB.Top+LB.Height+1

and you're done !
[Check if it is +1 or +2 for the Right/Bottom values]

HTH,

Emile


Subject: Re: ListBox Borders
From: Craig Hoyt <[EMAIL PROTECTED]>
Date: Thu, 15 Jun 2006 09:37:52 -0700

Thanks for the reply Jack. I suspected that it was not possible. As a work around I place a listbox over a rectangle object. Not quite right but suitable. My real issue is that a listbox border on a metal window has a slightly lighter color than the overall background shade of a metal window. It should be slightly darker. I'd put in a bug/ feature request but RS has much bigger fish to fry and I don't wish to add to the needless requests. Maybe the guys at RS will see this and get inspired;-) Huh... Ok I'm awake now...

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to