FAQ Search
>   Select Language

How to create a drop down menu in Vijeo Citect application for selecting items.

Sample Cicode script to get drop down menu feature for selection purpose in Vijeo Citect project is given below.

! Create a form, add combo box and then display the form
! the operator may type in or select one of the items from the list
 
FUNCTION FnMenu()
STRING      sBuf;
FormNew("Select Item",20,6,1);     
FormComboBox(2 ,2, 15, 5, sBuf, 1);
FormAddList("Item One");
FormAddList("Item two");
FormAddList("Item three");
FormRead(0);     
! sBuf should contain the selected item or entered text
END
FA59  |  21-Dec-2012  | Technical Characteristics
Please rate the content of this information
Unhelpful star.gif 1 star.gif 2 star.gif 3 star.gif 4 star.gif 5 Helpful
What can we do to improve this information?
Your email address