Announcements
I have 5 images and they are buttons. when the button is pressed, it displays details related to the image. I want the pressed image to be highlighted to show it's been selected. I tried doing something on the borders, but failed. im also thinking of putting a rectangle over the image so that it can pop up only when the image is selected, but I don't know how to achieve that. The images are not in a gallery so I cannot use template fill
Hi @Vhutali ,
You could put a rectangle behind the picture with the overlap required showing for a border and then put on the Visible
ThisItem.IsSelected
so when the item is selected, the outline would be visible.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
thanks Warren.
I managed to put the rectangle behind the picture. how do I make it appear only when selected? "Thisitem.isselected" is not working.
if I am to apply PressedColor, what fomular do I use?
As below - ThisItem.IsSelected (note character case) is the Visible property of the rectangle
Hi My images are not in a Gallery,they are just like icons
Like this?
OnSelect of the Icons (1-4)
UpdateContext({vVis:1})
Visible of the Rectangles (1-4)
vVis=1
Just checking if you got the result you were looking for on this thread. Happy to help further if not.
Hi warren
Not yet, I need something like what is on my attached picture. the rectangle has to change color when the pic is selected
My post with the icons does that - am I missing something in your requirements?
hi @WarrenBelz
It works.
thanks a lot
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 248 Super User 2026 Season 2
WarrenBelz 192 Most Valuable Professional
Mohsin Ali 135