button hide

Forum to ask for any help
Post Reply
michaelbnt
Posts: 20
Joined: Tue Sep 03, 2013 2:31 pm

button hide

Post by michaelbnt » Tue Sep 24, 2013 12:50 am

1 - created a button,
2 - after click it, it performs an action (in a new button)
however after the Botao perform the action, I want it to disappear from the screen

how to do it?

Idealhomes
Posts: 144
Joined: Mon Jul 16, 2012 3:35 pm
Location: New Zealand
Contact:

Re: button hide

Post by Idealhomes » Tue Sep 24, 2013 5:09 am

You would need to set up a flag for the button you want to disappear. Start by setting up and assigning a flag to the button in the 'Reveal' tab of the Object Properties (easiest way to get there is to click on the button you want to disappear). Once you have this done, you would then need to set up an action for the 'flag' so it is visible when you first open the App, otherwise it will never show, the easiest way would be in the 'Edit Startup Actions' from the Actions tab in from the Project Settings Tab. Just set the flag to 'On", this will cause the button to come on when the App opens. You can also do this action for page loading etc.....

All you need to do now is set the flag to go off when the button is pressed/released, you do this in the 'action editor' found either by double left clicking on the button or using the actions tab in the Object Properties. To get the button visible again, just set the flag to 'On' again either by pressing a button or when the App resumes or even when swiping your finger across the screen :lol:

I hope this helps some and doesn't sound like to much dribble, it is very easy to do, easier to do than write how it's done :?
"Setting the Standard in Quality and Commitment"

michaelbnt
Posts: 20
Joined: Tue Sep 03, 2013 2:31 pm

Re: button hide

Post by michaelbnt » Tue Sep 24, 2013 1:10 pm

you are a master - :lol: idealhomes

thanks for the help,
I'm developing this project which is getting amazing

Post Reply