D - += with properties
- Billy Zelsnack (11/11) Apr 22 2004 This does work:
- Dave Sieber (5/6) Apr 22 2004 Not implemented yet. See the very bottom of
This does work:
menuBar.buttons()+=new MenuBarButton();
This does not work:
menuBar.buttons+=new MenuBarButton();
I get the error: 'menuBar.buttons' is not a scalar, it is a HorizontalBox ()
buttons is declared as:
HorizontalBox buttons()
{
return _buttons;
}
Do I need to declare the buttons property differently to make += work?
Apr 22 2004
"Billy Zelsnack" <billy_zelsnack yahoo.com> wrote:Do I need to declare the buttons property differently to make += work?Not implemented yet. See the very bottom of http://www.digitalmars.com/d/property.html -- dave
Apr 22 2004








Dave Sieber <dsieber spamnot.sbcglobal.net>