Christian wrote: 

> If you place a picture in a Listbox Row
> 
> self.ListBox2.RowPicture(1) = picture
> 
> the picture is vertical centered in the middle of the row and 
> horizontally centert about 12 pixels inward from the left.
> 
> This is no problem wenn the picture is just 18x18 of size.
> But if you have a picture like 100x80 the left part of the picture is 
> outside of the Listbox.

Oh yes, quite so; RowPicture is designed for those little icons that should 
appear in each row, like in the MacOS Finder (list view).  If you want to do 
something else, don't use RowPicture.  Just draw whatever you want in the 
CellTextPaint and/or CellBackgroundPaint events.

Best,
- Joe

--
Joe Strout -- [EMAIL PROTECTED]
Verified Express, LLC    "Making the Internet a Better Place"
http://www.verex.com
_______________________________________________
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