Quantcast
Channel: Dynamics User Group
Viewing all articles
Browse latest Browse all 15740

HowTo dynamicaly populate items to a FormBuildComboBoxControl on a dialog

$
0
0

Hi !

I've created a dynamic dialog (RunBase) and the first control on it is a

"FileName" so the user can select a file.

After the user has selected the file I want to fill the next control (ComboBox)

with the file data.

Everything is working but the items in the combobox are not shown.

In the debugger I see that adding the items is working but it looks like

that the control or dialog needs some kind of refresh after I've added the items.

This is how I add the items:

       . . .

       formComboBoxControl.items(3);

       formComboBoxControl.item(1);

       formComboBoxControl.text("Item 1");

       . . .

Hope you can help me.


Viewing all articles
Browse latest Browse all 15740