According to the Help when using a Runner.Dialog in a custom Button I should use "ctrl.Dialog". In other Java events I should use "Runner.Dialog".
The example in the Help (choosing a favourite colour) worked fine, but I wanted to populate the combobox from a table in my project.
Then I found that using "ctrl.Dialog" didnot work. Only "Runner.dialog" worked. Only then the dialog I defined showed. And I also had to fill my params array explicitly in the beforeOK and I also had to add the submit command (much thanks to Corrie) to pass the variables of the Dialog to the Server event.
This really amazed me. So in the end I had to define my Dialog in my CustomButton events in exactly the same way I had to do it -according to the Help- in the "other Java events".
It seems something has changed & the Help is not aware of this change. Or am I missing something?
My current build is 41053.
Best regards!
Henny Sol