Actually it was quite easy ;-)

The only difficulty was that in the overridden
method "dialogSelectCtrl", because you first need to get the handle
of the field you're trying to change.

So in short these are the steps:
- newClass extends RunBase
- Set allowUpdateOnSelectCtrl(true) in the dialog-mehtod
- override the dialogSelectCtrl

some sample code from the overriden dialogSelectCtrl-method:
{
int aType = myField.value();
FormBuildComboboxControl comboBox;
;
super();
comboBox = myFieldDialogField.fieldControl();
switch (aType)
{
case 0:
  comboBox.enumType(enumnum(myBaseEnum1));
  break;
case 1:
  comboBox.enumType(enumnum(myBaseEnum1));
  break;
}

}


Thanks again!
/b




Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to