I can't set the size of a panel from a PANEL_REF contained in this.
On page initialization I am normally allowed to set the page size as:
this.size(100,200);
or
setValue(this.name(),"size",100,200);
But the same thing from another object is not possible, I also tried creating functions in the panel scopelib, but also with invockemethod I was not able.
Some code examples used to try to change the panel size from a panel ref:
Code: Select all
setValue($DP_ModuleName+"."+$DP_PanelName+":paginaListTitle","size", 450, yPosition + 50);Code: Select all
setValue("paginaListTitle","size",450, yPosition + 50);Code: Select all
self.setSize(450, yPosition + 50);Code: Select all
//Scopelib in main panel
public setSize(int x,int y)
{
this.size(x,y);
}
//Code on button click in panel ref inside panel
invokeMethod("paginaListTitle","setSize", 450, yPosition + 50);Anyone have any ideas?