web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Changing another objec...
Power Apps
Answered

Changing another object property with a button/ image click

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I would like change properties when I click on button.

For exemple I have BrowseGallery with property Height at 500. I would like use a button to update this value to 750.

So I put in OnSelect(BrowseGallery.Height = 750)

But it didn't work.

How can I change property value ?

Categories:
I have the same question (0)
  • Verified answer
    MarieKisSlaJoue Profile Picture
    Microsoft Employee on at

    Ok I have my own result

     

    the solution is to use variable.

    I need to use a variable to set my height value.

    For example BrowseGallery.Height = heightValue

    After in my code button I change my variable with UpdateContext({heightValue:750})

    And it's work

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard