Wonderware InTouch ListBox help

PeterBoo

Member
Join Date
Sep 2014
Location
Clermont-Ferrand
Posts
1
Hello everyone,

Here's my problem, I have a textfile with ten items:

LISTBOX,10
Item1,0
Item2,0
...
...
Item10,0

I can load it in a ListBox, and I'd like to select the last item in the listbox.

Here's my script :

wcLodList("MyList", D:\MyList.txt);
GetProperty("MyList.NewIndex", ListIndex);
wcGetItem("MyList",ListIndex - 1, ListItemString);

The file is perfectly loaded, and the string of the last item is returned in ListItemString. But my list is very small in my window, there is a scrollbar, and whenever this script is run, i can't see the last item, it shows me the top of all the items in the list.

Do you know if there is a way to select an item in a listbox ? Or at least force the scrollbar to be down the list ?

I hope you'll be able to answer me.

Sorry for my english, this is not my native language.

Best regards.
 

Similar Topics

Hi guys, I have experience with PLC to Excel etc...just starting on using intouch scada screens. I have an Excel sheet that uses mainly...
Replies
1
Views
155
Hola chicos. Tengo un problema con el driver de comucicacion dasabcip 5, y un plc controllogix v34, ya realice la comunicacion pero en ciertos...
Replies
2
Views
166
Hi, I am upgrading a Wonderware SCADA form version 9.5 to version 23. I am able to migrate all the graphic, but when to activate the runtime this...
Replies
8
Views
424
Hi all, I am using OI.GATEWAY.2 to communicate to the PLC using an OPC UA. I can see the tags using an OPC explorer connecting to the...
Replies
0
Views
195
For a while, I have been working with InTouch 10.1. The problem I am currently facing is the need to implement certain functions that do not...
Replies
0
Views
490
Back
Top Bottom