On Sep 17, 2006, at 3:41 PM, Tommy wrote:

Hi,

I'm experiencing this problem:

I subclassed a listbox (myListbox) and added a property called column1width and I assigned a default value 40. I added myListbox to the mainwindow (myLB). Running project as expected I get myLB.column1width=40 If I now change the default value of myListbox.column1width to 50 it doesn't change myLB.column1width (which stays 40).

Is there a workaround besides adding the listbox to mainwindow again (to avoid copy/pasting all events)?



Yes. Delete the initial value in the Property declaration and initialize Column1Width in MyListBox's Open event.

Best,

Jack
_______________________________________________
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