ListManagerAddItem method
- cconner_aie
- Posts: 93
- Joined: Thu Jun 11, 2015 10:12 am
ListManagerAddItem method
Is there an example on how to use the ListManagerAddItem method? Specifically how to assign values to CustomListData.
Coleby Conner
Controls Engineer, Anderson Industrial Engines
Controls Engineer, Anderson Industrial Engines
- boyce
- Enovation Controls Development
- Posts: 322
- Joined: Wed Sep 08, 2010 5:09 pm
Re: ListManagerAddItem method
Boyce Schrack
Enovation Controls
Enovation Controls
- cconner_aie
- Posts: 93
- Joined: Thu Jun 11, 2015 10:12 am
Re: ListManagerAddItem method
That uses an activity to add items rather than scripting, I should have specified.
Regardless, I got it to compile using the following:
Thanks!
Regardless, I got it to compile using the following:
Code: Select all
CustomListData data;
data.WriteInt32(CustomListColumn.Column_1, 1);
data.WriteString(CustomListColumn.Column_2, "test");
ListManagerAddItem(ListDataType.TesetList, data);
Coleby Conner
Controls Engineer, Anderson Industrial Engines
Controls Engineer, Anderson Industrial Engines
- boyce
- Enovation Controls Development
- Posts: 322
- Joined: Wed Sep 08, 2010 5:09 pm
Re: ListManagerAddItem method
I wasn't talking about the List and Graph Demo, the link has "DEMO - CustomListData in Script" configuration. The code is similar to yours and it has a little more.
Boyce Schrack
Enovation Controls
Enovation Controls