On Mar 12, 2006, at 7:02 PM, Jonathon Bevar wrote:
Harrie,
Thanks for the code example but in Window XP (big pain in the butt)
it will not show the CheckMark, but it did show the Copyright
symbol so it does work the basic code but not the chr(10003) part
in Windows XP.
Ok then, How do I get to see a Check Mark so both Mac and Win
systems can use it?
I have seen others use this CheckMark image or whatever in the
ListBox.
Help anyone?
It's very easy to draw a checkmark in CellBackGroundPaint. This
method draws a simple one:
Sub DrawCheckMark(g as graphics, x as integer) // x measured from
left border of cell
dim y as integer = g.TextHeight/2
g.PenWidth = 2
g.Drawline x, y, x + 3, y + 3
g.DrawLine x + 3, y + 3, x + 12, y - 6
End Sub
Call it from CellBackGroundPaint like this:
If column = 2 and row = 3 then
DrawCheckMark(g, 5)
Return true
End if
Best,
Jack
_______________________________________________
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>