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
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings