Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.
checkbox in appstudio
i want to use a checkbox in appstudio but i can not found how to bind it with a bool in rapid code. greetings
Tagged:
0
Answers
-
I created a function in a class that checks whether a component should be active or not. You can change this to require a signal and then do the following:
updateUiIcon() {const active = this.isActive();this.component.icon = active? "abb-icon abb-icon-abb_check-mark_16": null;}isActive() {return this.component.toggle === 1;}1
Categories
- All Categories
- 5.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 16 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.9K Robot Controller
- 366 IRC5
- 86 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 856 RAPID Programming
- 40 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings