"dynamic" DropDown Menu
Posted: Mon Mar 20, 2017 2:53 am
Hello
I'm very new to HMI and C# as well - but willing to learn.
For a project we need a dropdown menu to choose "recipes" from a contoller.
The names of the recipes should come from the controller.
first question, after reading a little bit in this forum:
- i read that a standard Touch Combo Box Object can not be filled like that. and in runtime mode not at all, if there would be a changing.
thats my next point:
there should be a analaog nummeric object, where you can see the recipe-name as well and then change and save. the new name should be in the dropdown list again.
i also read, this is possible with the standard windows-objects (ListBox or ComboBox)
- now, how do you fill them? in the "Data Source" field i think so. but what do i have to write there? a tagname? or directly the path from the contoller?
thanks in advance for any help
kind regards
BM
I'm very new to HMI and C# as well - but willing to learn.
For a project we need a dropdown menu to choose "recipes" from a contoller.
The names of the recipes should come from the controller.
first question, after reading a little bit in this forum:
- i read that a standard Touch Combo Box Object can not be filled like that. and in runtime mode not at all, if there would be a changing.
thats my next point:
there should be a analaog nummeric object, where you can see the recipe-name as well and then change and save. the new name should be in the dropdown list again.
i also read, this is possible with the standard windows-objects (ListBox or ComboBox)
- now, how do you fill them? in the "Data Source" field i think so. but what do i have to write there? a tagname? or directly the path from the contoller?
thanks in advance for any help
kind regards
BM