
ListItem Help[MOVED]
Ercan
✭
Hi everybody I have a little problem with LisItem. There is a sample below. And I want to change Item2 with a data. I mean I dont want to write manually. Thanks for help
The following example illustrates the data type listitem :
Example 1
CONST listitem list {3}:=[[stEmpty, "Item1"], [stEmpty, "Item2"],
[stEmpty, "Item3"]];
A menu list with Item1....Item3 to use in function UIListView.
Post edited by Jonathan Karlsson on
0
Comments
-
HiFirst you needed to define your list as persistant and not constant and then you can change the text using the text item in the recordEx.PERS listitem list {3}:=[[stEmpty, "Item1"], [stEmpty, "Item2"],[stEmpty, "Item3"]];! how to changelist{1}.text:="your text";Hope this was what you neededPer Svensson
Robotics and Vision Specialist
Consat Engineering1 -
Thank you so much for your help. Its working0
Categories
- All Categories
- 5.5K RobotStudio
- 398 UpFeed
- 19 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 324 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 813 RAPID Programming
- 5 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings