06-02-2017 02:23 AM
That are only names of some function. You could call them as you like MyFoo, myFunction, Otto, ... but the names should tell you something about what they do.
Winfried
06-02-2017 02:56 AM
Hi winner,
Thank you very much that seems to work :) , I just have a little problem, when I
choose MyValue1 I have to click on the button before the script runs, however
when I choose MyValue2, it automatically runs. how can i do so that
Myvalue2 runs also through the button?
Regards
06-02-2017 03:53 AM
Hi amanda78
The reason is that the script is executed only whan selcetion changed.Because the selection is "1" it does not change. If you omit the following line the combobox is empty when the dialog box starts up, so it is changed when you select 1.
This.SelectionExt = 1
Winfried
06-02-2017 06:58 AM
yes it seems to work 🙂 ! i have another problem, how can i do to make the dialog box close automatically after pressing a button please ?
06-02-2017 07:29 AM
Hi amanda78
in the layout mode select the ButtonType "Cancel" or "OK", Both close the dialog box but the call to returns differnt values for DlgState:
Winfried