![RobotStudio event](https://new.abb.com/images/librariesprovider89/default-album/robotstudio-webinar-arc-welding.jpg)
ListView example
Hi
Where can I find an example about listview with 3 or 4 columns? headers
BR
Jordi
Jordi Saboya
0
Comments
-
For c#, VB, etc? Can you be more specific?
Alex
0 -
I'm also interested... Howto needed in Developer Center?0
-
If you're using c# you define the number of columns in the UI designer. Assuming you named your listView scanning_window, something like this should work:this.scanner = new ABB.Robotics.Controllers.Discovery.NetworkScanner();scanner.Scan();ControllerInfoCollection collection = null;if (scanner.Controllers.Count > 0){collection = scanner.Controllers;ListViewItem item = null;scanning_window.Items.Clear();foreach (ControllerInfo controllerInfo in collection){item = new ListViewItem(controllerInfo.IPAddress.ToString());item.SubItems.Add(controllerInfo.Id);item.SubItems.Add(controllerInfo.Availability.ToString());item.SubItems.Add(controllerInfo.IsVirtual.ToString());item.SubItems.Add(controllerInfo.SystemName);item.SubItems.Add(controllerInfo.Version.ToString());item.SubItems.Add(controllerInfo.ControllerName);scanning_window.Items.Add(item);item.Tag = controllerInfo;}}0
Categories
- All Categories
- 5.5K RobotStudio
- 397 UpFeed
- 18 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 319 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 804 RAPID Programming
- 4 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings