AVEVA Community
AVEVA Community
  • Site
  • User
  • Site
  • Search
  • User
PDMS/E3D Forum
  • AVEVA World
PDMS/E3D Forum
Beginners rgroup selected toggle
  • Forums
  • Resources
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Replies 3 replies
  • Subscribers 1 subscriber
  • Views 21 views
  • Users 0 members are here
Options
  • Share
  • More
  • Cancel
Related

rgroup selected toggle

Lauri Lahtiranta
Lauri Lahtiranta over 4 years ago
 
  • Sign in to reply
  • Cancel
  • Lauri Lahtiranta
    Lauri Lahtiranta over 4 years ago
    Hiya!

    How can I set which one of the rgroup toggles is set?
    Meaning how in code can I set lets say the middle one (two) to having the toggle button.

         rgroup .vert |Set| FRAME vertical
        add tag |one| call |!this.stuff()|
        add tag |two| call |!this.stuff(|
            add tag |three| call |!this.stuff(|
         exit

    !this.vert.???
    Tried setactive and active, etc...

    Thanks for any help!
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Léo SALVADOR
    Léo SALVADOR over 4 years ago
    Hi Metzger !

    You can use:

    !this.vert.val = 2

    To select the second toggle for example.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Lauri Lahtiranta
    Lauri Lahtiranta over 4 years ago
    Thank you!
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel