cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
luisabsg
Helper V
Helper V

Show/hide a form with a button

Hy, I need a help. 

How I do to hide/show a form using buttons?

When I click in "ok", I want to show this form and when I unclick, hide this form. 

luisabsg_0-1625075697446.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
zmansuri
Super User
Super User

Button' OnClick:

Set(varShowForm,!varShowForm)

Form's Visible Property:

varShowForm

 

 

If you want to hide form when app start

Go to App. OnStart write

Set(varShowForm,false)

View solution in original post

1 REPLY 1
zmansuri
Super User
Super User

Button' OnClick:

Set(varShowForm,!varShowForm)

Form's Visible Property:

varShowForm

 

 

If you want to hide form when app start

Go to App. OnStart write

Set(varShowForm,false)

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,917)