Hi all,
I like to extend the clicked()-method on form control button ctrlUpdateButton at form InventTransRegister.
I try following
Standard code:
[Control("Button")]
class ctrlUpdateButton
{
public void clicked()
{
PdsCWUpdateRegister pdsCWUpdateRegister;
boolean isUpdateInventSucceeded;
isUpdateInventSucceeded = doSomething();
}
}
my extension code:
[ExtensionOf(formControlStr(InventTransRegister, ctrlUpdateButton))]
public final class myInventTransRegisterFrmCB_UpdateButton_Extension
{
public void clicked()
{
next clicked();
boolean myisUpdateInventSucceeded = isUpdateInventSucceeded;
// if (isUpdateInventSucceeded)
if (myisUpdateInventSucceeded)
{
doSomethingElse();
}
}
}
My problem is that boolean variable isUpdateInventSucceeded is not declared in my extension method...
How can I use the vaiable from standard code in my extension code?
Hopefull to get a solution
Christian