ooooo - cool - I'll try that!
Thanks!
On 4-Jul-06, at 9:51 PM, CV wrote:
On Jul 4, 2006, at 7:28 PM, Stephen wrote:
In response to my own question...
I did it the hard way, trial and error 1000 times and using a
select case to set the exact x position of each new column
Not Elegant - but it works.
for x = 0 to ListBox1.ListCount - 1
for y = 0 to ListBox1.ColumnCount - 1
select case y
case 0
xpos = 0
case 1
xpos = 100
case 2
xpos = 175
case 3
xpos = 225
case 4
xpos = 250
.
.
.
g.DrawString ListBox.Cell(x, y), xpos, (x*h)+h
next
next
The ListColumn class can be helpful. ListBox1.Column
(whatever).WidthActual returns the width of any column.
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>
_______________________________________________
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>