There has to be a simple answer for this. I am trying to code a select all feature for a ListBox. I made a new Method and I call it from a MenuItem as well as the associated command keys, and it works fine. When I call it from a ContextualMenu, it doesn't.
Stepping through the code, all of the rows are selected, but then become deselected at some point. All I see while stepping through the code is that it goes into the CellBackgroundPaint, CellTextPaint and GotFocus events. I have commented out all of the code in these events, so they should be doing nothing, right? Anyway, the rows become deselected. Any clue as to why? I know I will hit myself in the head. Thanks. _______________________________________________ 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>