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

Thanks for the reply Jack, this works way better for sure. Apparently the
code I had in the mousedown and mouseup events gave the odd behavior with
the scrollbar. Leave it to me to mess this up. :-) Still seems like a bug to
me that code in these events affect this.

Now, if I click in say the 5th row down, the cell is editable with a focus
ring and the row is highlighted orange, perfect. But if I then scroll, the
editable cell changes, that is it remains in the same relative position in
the listbox and the entire row turns orange as it scrolls up. Bug?

Thank you again for the reply.

--
Thomas C.

_______________________________________________
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