Solved, for those interested. Turns out this problem only occurred under certain conditions, with the listbox in certain tab panels. The problem was triggered by this call:
myNaughtyListBox.scrollPositionX = 0 (this was added to prevent a previous bug whereby the rows would be scrolled a bit to the left thereby obscuring file icons drawn in col 0: this no longer seems to be a problem with RB2007). Removing this line seems to have solved the problem. 4 hours well spent. P. On 2/9/07, Peter K. Stys <[EMAIL PROTECTED]> wrote:
I have a list box with several columns, 2 of which are editable. When I double-click an editable cell to make it active (text selected), then push a test button with myListBox.DeleteAllRows, all rows are deleted except the text in the cell that was editable remains visible in the listbox. This only happens in RB2007r1; same code recompiled with RB2006r4 does not exhibit this anomaly. Has anyone seen this and how do I delete all rows AND make the selected text disappear as well. Thanks, Peter. -- ------------------------------------------------------------------------------- Peter K. Stys, MD Professor of Medicine(Neurology), Senior Scientist Ottawa Health Research Institute, Div. of Neuroscience Ottawa Hospital / University of Ottawa Ontario, CANADA tel: (613)761-5444 fax: (613)761-5330 http://www.ohri.ca/profiles/stys.asp -------------------------------------------------------------------------------
-- ------------------------------------------------------------------------------- Peter K. Stys, MD Professor of Medicine(Neurology), Senior Scientist Ottawa Health Research Institute, Div. of Neuroscience Ottawa Hospital / University of Ottawa Ontario, CANADA tel: (613)761-5444 fax: (613)761-5330 http://www.ohri.ca/profiles/stys.asp ------------------------------------------------------------------------------- _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
