cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AnBui
Frequent Visitor

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
Pstork1
Dual Super User III
Dual Super User III

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.
yashag2255
Dual Super User II
Dual Super User II

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
Frequent Visitor

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 😄 . 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
Frequent Visitor

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
Helper I
Helper I

Good question, I got this problem too Smiley Very Happy

Pstork1
Dual Super User III
Dual Super User III

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.
v-xida-msft
Community Support
Community Support

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (53,710)