Skip to main content
Community site session details
Power Apps - Building Power Apps
Answered

Disable button until text field is scrolled to end

Like (0) ShareShare
ReportReport
Posted on 30 Apr 2023 13:20:33 by 102

Hi,

I have a text label in my app, lab_terms,  which contains Terms and Conditions.  It is scrollable and contains more text than will fit on a single screen.

On the same screen there is a button, btn_Next, that advances the user to the next screen.

I'm want to use DisplayMode to disable the button until the user has scrolled to the end of lab_terms, but I'm not having any luck.

Is this possible? Or am I wishing for a beer and money tree again?

  • Verified answer
    BCBuizer Profile Picture
    22,262 Super User 2025 Season 2 on 30 Apr 2023 at 16:58:39
    Re: Disable button until text field is scrolled to end

    Hi @Matt_uhb ,

     

    COme to think of it, the slider is probably more user friendly and easier to implement. The setup is similar to the one described before, but instead of 2 icons, use a slider.

     

    The following property settings should be used:

     

    Label:

     

     

    AutoHeight = true
    Y = Slider.Value

     

     

     

    Slider:

     

     

    Default = Self.Min
    Layout = Layout.Vertical
    Max = 0
    Min = -Label.Height + Container.Height
    ShowValue = false

     

     

     

    The Slider.Value property can now be used to determine if the user is at the bottom to enable the button:

     

     

    If(Slider.Value = Slider.Min, DisplayMode.Edit, DisplayMode.Disabled)

     

     

    Resetting the slider will move the label back to the top.

     

     

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473