Listers,

I have a confession to make, I hate using the Listbox. I avoid it whenever I
can. It must be me, but no matter how much time I spend trying to learn the
intricacies of this beast, it whips on me bad. Completely unintuitive it is
to me. Anyway first things first.

I would like to have a three column listbox that a user can click on a cell
and edit, simple enough. I have my 3 column headings set.

* 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.

* 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

I sure would appreciate some tips from you on how to get me started on
maintaining some decent behavior with this - feel like a bonehead. :-)

--
Thomas C.
10.3.9
2006r4

_______________________________________________
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