cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AnBui
Level: Powered On

How can I set position and size of 96 data card value at the same time ?

I have 96 data card value in 96 different data cards, those datacardvalues have same position and size. So, do we have anyway to chose and adjust them at the same time, instead of chose and correct every single one.

 

Thank you so much.

7 REPLIES 7
Super User
Super User

Re: How can I set position and size of 96 data card value at the same time ?

There is no way I know of to globally select and set values like that on all the datacards at once.  But the way I do it makes it possible to change all of them globally later.  Lets say you want to change the Font or Fontsize on all those datacards.  Do the following:

  1. Add a hidden label to the screen where the data cards are.  Set that label to use the font and fontsize you want.
  2. Edit each of the datacards to get their Font and Font size settings from that label.
  3. After the first edit you won't have to touch the datacards again.  Changing the font or fontsize of the hidden label will apply to all the datacards.

It does require editing all the datacards once, but once established you won't have to edit them again to make changes.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Super User
Super User

Re: How can I set position and size of 96 data card value at the same time ?

Hi @AnBui 

 

You can modify all the datacard at once, please try following below steps:
 
1) Select all the data cards from the left menu item one by one by holding ctrl.
2) Select the property from top menu, and modify the value.
 
Through this, all the datacards will get updated.
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
AnBui
Level: Powered On

Re: How can I set position and size of 96 data card value at the same time ?

Thanks so much, that's the good idea. I will try to create a button, that set up 96 datacardvalue position and datacardvalue size then I just click Smiley Very Happy . At least, it save time more than adjust every single one. 


@Pstork1 wrote:

There is no way I know of to globally select and set values like that on all the datacards at once.  But the way I do it makes it possible to change all of them globally later.  Lets say you want to change the Font or Fontsize on all those datacards.  Do the following:

  1. Add a hidden label to the screen where the data cards are.  Set that label to use the font and fontsize you want.
  2. Edit each of the datacards to get their Font and Font size settings from that label.
  3. After the first edit you won't have to touch the datacards again.  Changing the font or fontsize of the hidden label will apply to all the datacards.

It does require editing all the datacards once, but once established you won't have to edit them again to make changes.


 

AnBui
Level: Powered On

Re: How can I set position and size of 96 data card value at the same time ?

Thank a lot, however, I want to adjust datacardvalue and I can't use Ctrl to chose all of them.


@yashag2255 wrote:

Hi @AnBui 

 

You can modify all the datacard at once, please try following below steps:
 
1) Select all the data cards from the left menu item one by one by holding ctrl.
2) Select the property from top menu, and modify the value.
 
Through this, all the datacards will get updated.
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

Phu_Le
Level: Powered On

Re: How can I set position and size of 96 data card value at the same time ?

Good question, I got this problem too Smiley Very Happy

Super User
Super User

Re: How can I set position and size of 96 data card value at the same time ?

He wants to set the datacardvalues, not the datacards.  While you can select multiple datacards in the treeview you can't select multiple datacardvalues inside different datacards



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Community Support Team
Community Support Team

Re: How can I set position and size of 96 data card value at the same time ?

Hi @AnBui ,

Do you want to adjust 96 data card values at the same time within your app?

 

Based on the needs that you mentioned, I agree with @Pstork1 's thought almost. You could also consider initialize variables within your app to store the DatacardValues size and position value you want to set, then bind the position and size value of your 96 DataCardValues to the variables.

 

Set the OnVisible property of the Edit screen to following:

Set(PositionX, "Xvalue");
Set(PositionY, "Y value");
Set(SizeWidth, "Size Width Value");
Set(SizeHeight, "Size Height Value")

Then set the X property of your 96 DataCardValues Text Input box:

PositionX

Then set the Y property of your 96 DataCardValues Text Input box:

PositionY

Then set the Width property of your 96 DataCardValues Text Input box:

SizeWidth

Then set the Height property of your 96 DataCardValues Text Input box:

SizeHeight

Please consider take a try with above solution, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 137 members 4,512 guests
Please welcome our newest community members: