On Nov 4, 2006, at 7:01 PM, Thomas Cunningham wrote:
* It seems like I have to preset the rows, that is make them active or
non-nil first. I have this,
Dim i As Integer
For i = 0 To 64
Me.AddRow ""
Next
My Listbox height does not show all of these 64 rows. I click on the
vertical scroll bar but the Listbox does not scroll. If I click on
an area
below the scrollbar button, to get it to skip down, the scrollbar
does not
move AND it selects a row in the listbox left of the click. This
seems wrong
to me.
That is strange. The scrolling works correctly for me on r3, with the
code above in the ListBox open event.
* To get a cell to be editable, I return True in the mousedown
event and
place this in the mouseup,
Me.EditCell Me.RowFromXY(x, y), Me.ColumnFromXY(x,y)
Me.ActiveCell.SelStart = 100
Instead, in CellClick you can just do:
me.EditCell(row, column)
Return true
Then in Keydown, you can trap the Return and Tab keys and add code to
navigate your editable listbox.
Regards,
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>