cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
felipito1
Helper II
Helper II

Slider control: I need it show numer 0

Dear Comunity:

 

Good day, I am stuck with something that I'm sure must be easy to solve, I am using slider control to set some times, so I have one for set the hour and the other for minutes, the problem is I need that from number 1 - 9 number 0 be showed before its:

 

Example:

 

How actually is showed                                      How I need to be show

 

asdad.JPGtempsnip.png

 
 

If you have any ideas I will be greatefull!

 

Regards!

1 ACCEPTED SOLUTION

Accepted Solutions
mdevaney
Super User
Super User

@felipito1 

Its not possible to change the format of the value in the callout from 9 to 09.

 

Instead you can set the ShowValue property of the slider to this

False

 

Then create a label beside the Slider with this Text property to format the value

Text(Slider1.Value,"00")

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

3 REPLIES 3
mdevaney
Super User
Super User

@felipito1 

Its not possible to change the format of the value in the callout from 9 to 09.

 

Instead you can set the ShowValue property of the slider to this

False

 

Then create a label beside the Slider with this Text property to format the value

Text(Slider1.Value,"00")

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

v-xida-msft
Community Support
Community Support

Hi @felipito1 ,

Based on the needs that you mentioned, I afraid that there is no direct way to achieve your needs in PowerApps currently.

 

As an alternative solution, I think the Tooltip property of the Toggle control could achieve your needs. I have made a test on my side, please take a try with the following workaround:

Set the ShowValue property of Toggle control to following:

false

Set the Tooltip property of the Toggle control to following:

Text(Slider1.Value, "[$-en-US]0#")

then when you put the mouse focus on the Toggle control, you would see the expected effect as below:

2.JPG

 

Please consider take a try with above alternative solution, check if it could help in your scenario.

 

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.
felipito1
Helper II
Helper II

Thank you very much all of you for your kindly assistance.

 

 

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,055)