cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver I
Resolver I

On Click move labels to different x & y

Assuming Label 1 2 and 3 currently on click of 1 it shows label 2 & 3 but I also want to move the location of all 3 to different position, how would I go about doing that...thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Responsive Resident
Responsive Resident

Re: On Click move labels to different x & y

Set the X any Y properties to be  variables, lets say lbl1X and lbl2Y.  On the onView property of a screen you can initilize those variables with their starting positions. 

 

I would need more information to help further but on what ever action you want to change the X & Y properties set those variables to desired positions.

Set(lbl1X, SomeNewPosition);
Set(lbl1Y, SomeNewPosition)

View solution in original post

4 REPLIES 4
Highlighted
Resolver I
Resolver I

Re: On Click move labels to different x & y

Is this possible in PA or am I chasing something that is not doable and will require me to create different cards.
Highlighted
Community Champion
Community Champion

Re: On Click move labels to different x & y

Hi @polska2180 thanks for posing this question. I will have my support team review and an update will be posted in this thread. 

 

@TopShelf-MSFT

Highlighted
Responsive Resident
Responsive Resident

Re: On Click move labels to different x & y

Set the X any Y properties to be  variables, lets say lbl1X and lbl2Y.  On the onView property of a screen you can initilize those variables with their starting positions. 

 

I would need more information to help further but on what ever action you want to change the X & Y properties set those variables to desired positions.

Set(lbl1X, SomeNewPosition);
Set(lbl1Y, SomeNewPosition)

View solution in original post

Highlighted
Resolver I
Resolver I

Re: On Click move labels to different x & y

So real novice here I kind of need exactly where to put what so here is what i have.

 

I have labels that when clicked it shows a card or cards and an outline around that label indicating the selection "Think_Rectangle" the rectangle, the visible field for that rectangle is If(ShowCard = "Think",true,false).  The problem is depending on what button I press different think labels show up in different positions but the functionality is the same the problem is since the outline is tied to the card being shown i cannot have different versions of the outline.  I realize this is probably the worst way to have this done and a button or checkbox whatever should have been used but I am working with something somebody else did and I prefer not to redo since i'm on a time crunch so my solution would be to move the outline to a different spot depending on which think label I press.  I hope this make sense.

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,516)