HyperNext Studio

HyperNext Studio => General => Topic started by: Jeff on February 10, 2011, 01:39:27 AM

Title: How to Quit a Software and Clear the fields?
Post by: Jeff on February 10, 2011, 01:39:27 AM
I have two (2) question about Quitting and Clearing the Fields:

How can I quit a software by clicking a button that is placed - All in the same card?

How can I clear the fields in the card by just clicking a button - All in the same card?

What is the code for this, still can't get it.

Thanks
Title: Re: How to Quit a Software and Clear the fields?
Post by: Malkom on February 10, 2011, 11:10:36 AM
Quote from: "Jeff"
I have two (2) question about Quitting and Clearing the Fields:

How can I quit a software by clicking a button that is placed - All in the same card?

How can I clear the fields in the card by just clicking a button - All in the same card?

What is the code for this, still can't get it.

Thanks


To quit using a button just put the following into the button's script:-

Code: [Select]
@ saves latest variables, fields etc
QuitSave(1)


To clear fields using a button just put the following into the button's script:-

Code: [Select]
Clear field 1
Clear field 2