Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
FP SDK ListView ItemCheck
Gomez
✭
Hello
I am developing a FP app, using a listview control with Checkedboxes (I'd like to use the ABB control because of its layout).
I need to intercept the event that occurs when the state of a checkbox changes, just like ListView.ItemCheck Event in for the standard windows form control.
I can't find this event..doesn't it exist in the ABB control?or anything similar? (the same question as for CheckedItems Property of listview)
Thanks in advance
BR
I am developing a FP app, using a listview control with Checkedboxes (I'd like to use the ABB control because of its layout).
I need to intercept the event that occurs when the state of a checkbox changes, just like ListView.ItemCheck Event in for the standard windows form control.
I can't find this event..doesn't it exist in the ABB control?or anything similar? (the same question as for CheckedItems Property of listview)
Thanks in advance
BR
0
Comments
-
Hello Gomez,there is no direct event to detect if a checkbox has been changed, but you you could use the event "ItemActivate" to do this.Via the property "SelectedItem" or "SelectedIndex" of the listview it is possible to get access to the activated listview item.Example:
private void listView1_ItemActivate(object sender, EventArgs e){
if (listView1.SelectedItem != null){
ABB.Robotics.Diagnostics.Trace.WriteLine("Item activate " + listView1.SelectedItem.Text + ": " + listView1.SelectedItem.Checked.ToString());
}}
Best regards
Micky0 -
Thanks for responding
This was the solution I also was thinking to use, but I wanted to be sure that there is nothing already implemented as for collections of selected items and their events. Ok, I'll do it manually..
Thanks again
BR
0
Categories
- All Categories
- 5.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings