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
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 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