Drop-down menu for MV point

Hello, there is an MV point with several states (state-1, state-2, state-3, etc.). Can someone tell me
How to make a drop-down menu to select these states?
A menu of the kind shown in the picture (taken from another SCADA, where this element is present directly on the toolbar)

  • Thanks for the help. I did not think that when I asked a question about such a simple element, which is usually located on the editor’s toolbar, I would have to download Visual Studio and create it myself )))
  • welcome to Citect - the most flexible of all flexible ))))
  • CSV_ListBox_AddItem - Adds item to combo box in ActiveX tag list object.
    see CSV_Include Functions
  • Unknown said:
    CSV_ListBox_AddItem - Adds item to combo box in ActiveX tag list object.
    see CSV_Include Functions

    see the file CSV_ListBox.ci in CSV_Include project

  • You can also use just a Citect Genie in combination with the new Maps functionality. I took a genie from the TagDebug Example of Bradley and modified it for use directly on a page. It then look like this:

    So no need for ActiveX solutions

  • Unknown said:

    You can also use just a Citect Genie in combination with the new Maps functionality. I took a genie from the TagDebug Example of Bradley and modified it for use directly on a page. It then look like this:

    So no need for ActiveX solutions

    What version of Citect do you use? What is "new Maps functionality" ?

  • This is V2018. V2018 uses it heavily. It's a bit like queues, but you can reference (like a pointer) to the items in the map directly from a page. In my case I added: 0=Automatic, 1=Manual, etc ( these are my enumerations) to the map. With the MapGetValue() function I retrieve the correct value from the map.
  • Unknown said:
    This is V2018. V2018 uses it heavily. It's a bit like queues, but you can reference (like a pointer) to the items in the map directly from a page. In my case I added: 0=Automatic, 1=Manual, etc ( these are my enumerations) to the map. With the MapGetValue() function I retrieve the correct value from the map.

    My last version is 2015 where we can't use array over 64 kB (((

    I don't know what is an object "map" (((

    Is it an object like in Java ?

    Right now I recovery a project for Citect 7.0 where font for button we must configure separately in Citect Editor ))))

    Could you say how they make ComboBox in 2018 like on your picture? In Citect 2016 they made imitation of ActiveX table for alarms by CiCode and micro pictures ))) Image - scrollbar was an micro picture which moving by CiCode ))))) it's very slow motion ... like freeziing like WinXP on Intel 486

    And in that moment we see good ActiveX elemen - ProcessAnnlyst - did you see TrendX and its templates ???

    Why they can't make AlarmTable like ProcessAnalyst ? (In WinCC we can see very good Alarm table, fast, simple, comfortable and without any code)

  • V2018 has complete new alarm pages, which are very fast. The alarm pages from the SxW templates where indeed not very fast. Please just download V2018 or V2018R2, which is the latest. I don't know Java so I can't tell if a map is like an object. The combobox in the picture just consist of three objects, a square, a text and a symbol, plus some cicode to fill add the enumerations.
  • Most flexible? You mean the most outdated. You clearly haven't used Ignition! Easy to work with, and it's incredbily flexible