On Apr 24, 2006, at 6:42 PM, Charles Ross wrote:
OK, earlier I figured out how to call an event that I have defined in
a subclass. Now I want to call an event that already exists in the
super of the subclass.
Specifically, I have subclassed ListBox. ListBox has an ExpandRow
event. If the user double-clicks a collapsed folder row, I want to
expand the row. So actually I have two questions:
1. How can I tell if a row is a folder or a plain row?
There is no built in way to do this.
2. How can I call the ExpandRow handler from the DoubleClick handler?
Set Expanded(row) to True. This will work for both folders and
non-folders, but will only have an effect on rows that are folders.
HTH,
Jon
--
Jonathan Johnson
REAL Software, Inc.
_______________________________________________
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>