eva/3 Application BuilderDeveloping Additional eva/3 ComponentsUser CommandsExamples for Tasks of an CommandExamples for report commands 

Get components

The form components SFrame, MiddlePanel, ToolbarPanel and SidePanel and the report components implement the method getObject (String name). The parameter name is the name of the object. Each object within a report or a form has a singular name.

The following code fragment loads and initializes a form as SFrame and gets an SLabel.

SFrame frame = SWindowUtils.openSFrame(
        "forms/example.form",true,Frame.
         NORMAL,true,false);
SLabel label = (SLabel)frame.getObject("SLabel");