nerdexam
Microsoft

PL-200 · Question #19

You are creating a canvas app. A user will click a button on each screen of a Power Apps app to proceed to the next screen. You need to implement an action that selects the next screen that the user…

The correct answer is D. OnSelect. In Power Apps canvas apps, the OnSelect event fires when a user clicks or taps a control such as a button. To navigate to the next screen, you write navigation logic (e.g., Navigate(NextScreen, ScreenTransition.Fade)) inside the button's OnSelect property. OnLoad fires when a…

Create apps by using Microsoft Power Apps

Question

You are creating a canvas app. A user will click a button on each screen of a Power Apps app to proceed to the next screen. You need to implement an action that selects the next screen that the user sees. Which event should you handle?

Options

  • AOnLoad
  • BOnCheck
  • CScreenTransition
  • DOnSelect

How the community answered

(43 responses)
  • A
    2% (1)
  • B
    5% (2)
  • C
    2% (1)
  • D
    91% (39)

Explanation

In Power Apps canvas apps, the OnSelect event fires when a user clicks or taps a control such as a button. To navigate to the next screen, you write navigation logic (e.g., Navigate(NextScreen, ScreenTransition.Fade)) inside the button's OnSelect property. OnLoad fires when a screen loads (not triggered by a button click), OnCheck is used with checkbox controls to respond to check/uncheck actions, and ScreenTransition is a transition style enum used as a parameter inside Navigate()-not an event handler.

Topics

#Canvas Apps#Event Handling#Button Control#Screen Navigation

Community Discussion

No community discussion yet for this question.

Full PL-200 Practice