Once the DFrame object is instantiated it is possible to create it. 3 methods allow that:
Example:
//Instantiation
var position = [ 0, 0, 100, 100 ];
var title = 'Home page';
var dFrameStyle = new dFrameStyle();
dFrameStyle.setBackgroundColor(' blue')
var dFrame = new DFrame(position, title,
dFrameStyle);
//Decoration
dFrame.addButton('Close',
'thisDFrame.closeFrame()')
//Creation
dFrame.show()
When a DFrame is created it is no longer possible to decorate it.