Sign in to follow this  
Followers 0
Milosh

Toggle pop-up screen on same button

4 posts in this topic

Hi all.

How to make this function:

1. Click on button -> open popup window

2. Second click on same button -> close popup window

 

Thanks in advance

Share this post


Link to post
Share on other sites

What have you tried so far?

Share this post


Link to post
Share on other sites

Hi Michael.

I make Popup screen with some buttons.

Then put Command button on screen (overview screen), with the next properties;

Function: Screen Switch

* Specified Screen - MyPopuUpScreen (previously mentioned)

I need to implement something like fast selection button.

When click on button first time -> open popup window.

If Idon't want to select anything from popup screen, then need to close that scree on one of the following way:

1. second click on same button -> close popup screen

2. click outside popup screen -> close popup screen

 

Thanks in advance

Share this post


Link to post
Share on other sites

Make the pop up screen full size and make it look just like the base screen on the sides.  I have a button in my example in the same place as the base screen that will close the pop up and an invisible button down the right hand side that is an example of what you would need to do if you wanted to be able to touch anywhere in the "background" to close the pop up.

 

PopUpTest.zip

1 person likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0