getButton (buttonId) |
Button |
Gets a Button instance with a given button ID within a TitleBar instance. In most cases, this method works in the same way as the oraclecrmod.getButton() method, and sometimes the oraclecrmod.getButton() method is simpler because you do not have to get a reference to the TitleBar. The only difference is that if there are two buttons that share the same ID, then the oraclecrmod.getButton() method cannot return both buttons. In this case, you can get the TitleBar instance first, then get the Button instance within that TitleBar. Buttons should not have the same ID. |
var tb = oraclecrmod.getTitleBar("TitleBarID");
var btn = tb.getButton ("ButtonID");
|