Check image button mode status

Check image button mode status

paullimapa
Mentor Mentor
337 Views
3 Replies
Message 1 of 4

Check image button mode status

paullimapa
Mentor
Mentor

For image buttons in dcl when dialogue box is running is there a way to check the mode status to see if the image button has been “flipped” highlighted or not? Another words has (mode_tile image-button-key 4) been applied to it already so I don’t flip the image button again?


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Accepted solutions (1)
338 Views
3 Replies
Replies (3)
Message 2 of 4

Sea-Haven
Mentor
Mentor
Accepted solution

You can do calls to defuns in a dcl so I guess could do a check if once on, then stay on, each time you click any image. ie reset a "on" list.

Message 3 of 4

paullimapa
Mentor
Mentor
I was hoping there would be a get_attrib function that could give me the current image button status. But definitely adding the image key into a list when flipped and then removing it from the list when unflipped would do the trick. Thanks.

Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 4 of 4

_Tharwat
Advisor
Advisor

I do prefer to use an action_tile for each one then I can add as many functions as I want once a user press the button.