Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

START-STOP BUTTONS How to change visibility


This topic is 7302 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I'm building a time clock

The first layout you see is a switchboard that takes workers to their own personal screen.

When they get to this screen they select a task and then have two options:

If they are not currently working on something they can hit the START button.

If they want to clock out they can hit the STOP button.

I would like to have only one of these buttons visible at a time.

The START button already inserts current time into a start field.

I would like it to also direct the STOP button to go to the back of the layout.

Conversely, I would like the STOP button to insert current time into the stop field

and chase the START button to the back of the layout.

Can this be scripted?

Thanks,

Jarvis

Posted

Use 2 portals, one for each button. Make 2 self relationships, one is valid when when you want the start button to show, the other is not valid so the stop button will not show. Change this when you want the stop button to show so that it has a vaiid relationship and the start does not. After you get this working make the portal border invisible.

The portals can not be on top of eachother.

Posted

Hi,

Ralph's version is the best way...

If you are not comfortable with relationships and portals...

You could use duplicate layouts (identical layouts) one with a START button

the other with a STOP button. Have scripts attached to each button.

A start script would set the start time & goto layout "EndTime". the other

would set the end time & goto layout "StartTime".

HTH

Dan

This topic is 7302 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.