On Mar 18, 2006, at 10:43 AM, Charles Yeomans wrote:

Why not figure out why you're getting an OutOfBoundsException? I don't mean to be harsh, but the ability and willingness to sort out such things is one difference between programming competence and incompetence.

Charles Yeomans

On Mar 18, 2006, at 1:36 PM, Jonathon Bevar wrote:


Jack,

Thanks for all your help but now the program give me an Out-Of- Bounds exception error. So I had to give up on it. Not sure why.

As for you explanation below. I have no idea how to create it or set it up. I have found an bmp pic of a checkmark but that is not a good idea as it takes up much memory.

You can draw the checkmark to a picture object using the code that I posted, but use a Picture object's graphics rather than the graphics context returned in CellBackGroundPaint as I did in my post. No need to find another image. In window _Open, create a NewPicture, p, and draw the checkmark into p.Graphics. Assign p into a property, MyCheckMark as picture, that you have added to your window, so you won't have to draw it again. When you want a checkmark to appear, assign MyCheckMark into the appropriate CellTag. In CellBackGroundPaint, you must have some code that checks the CellTag and draws its contents to the g returned therein.

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>

Reply via email to