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 | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.