I created a Dialog , when I launch the Dialog I want to assign a value for field.
I have this code:
Dialog dialog;
myDialogField = dialog.addField(enumStr(myEnumType));
myDialogField.value(myVariableEnum);
dialog.run();
With this code I can not assign variabe. I launch the Dialog by button on Form , in a class I saw the really value in myVariableEnum but I don't know how to assign.
Thanks all,
enjoy!

dialogvariable is never instantiated. - FH-Inway