How can I add objects to a custom section?
Hi,
I have created a class based on a section. Like so.
Quote:
define class contTopStatusBar as container
layout = "vertical"
fixedheight = 40
backcolor = "white"
enddefine
This works fine.
However, I want the class to have certain UI objects in it by default.
But I can't seem to get that working.
I have tried different ways to get this working. Does "this" work in class based on container?
Quote:
define class contTopStatusBar as container
layout = "vertical"
fixedheight = 40
backcolor = "white"
this.addObject("buttonTest","commandbutton")
enddefine
Thanks.
Herb