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

@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 III
Super User III

@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

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
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 (48,077)