Hi,
I'm using a subclassed listBox to create a control kind of like the layers 
palette in Photoshop. Since I'm handling the multiple selections myself, I 
have a boolean array property to keep track of slections. This means that 
when I add or remove rows, I have to update the selection array. So, I added 
a method named "AddRow" which takes no parameters and has this code:

// do my stuff
AddRow ""

This seems to work perfectly. Except that everytime I open the code editor, it 
has "Text As String" as a parameter. If I forget to delete it, the obvious 
compiler error happens. So, is this an IDE bug/feature or is it correctly 
telling me that I shouldn't be doing this?

Obviously, I can change the name of the method to myAddRow or whatever. It 
just seems more convenient not to have to remember to use the correct one 
each time.

Don Jungk
_______________________________________________
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