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
Print
Was this helpful?
Yes
No
What can we do to improve the information ?