Scrollable Text on screen in Power Apps

Loading

Requirement : How to create a scrollable text below the header on PowerApps screen

Goto Power Apps select +New screen and name the screen as you require

— created the screen named as ScrollScreen

created the header as well as per required

Now insert a ‘Rectangle’ below the header & also a ‘label’ with require content in it

Next Insert a Timer on the screen and on it’s ‘OnTimerEnd’ property provide the below function

UpdateContext({varXlabel: If(varXlabel > ScrollScreen.Width, -scrolllabel.Width, varXlabel+5)})

    For the Timer turn on the Icons on properties of Repeat, Auto start, Auto pause and make the duration as 10 seconds

    Now provide the variable ‘varXlabel’ on the property of X

    Now we can make the Timer visibility as False

    Final output, when we play the app the developed scrollable will scroll through the screen towards the right (frontwards), If you require the scrollable to scroll towards the left (backwards), In the property of OnTimerEnd of Timer replace the value ‘+’ with ‘-‘ after varXlabel in If condition

    Leave a Reply

    Your email address will not be published. Required fields are marked *