Jump to content
Sign in to follow this  

Disable a button in Find Mode?

Recommended Posts

I have a checkbox field that I've defined with a button over it so when it is clicked it runs a script. The problem is when I go into Find Mode I need to be able to search based on this checkbox, but in find mode the button is still active so I can't directly select the checkbox.

This is probably a basic question, is there a way to disable the button when in Find Mode?


Share this post

Link to post
Share on other sites

One way would be to start the script that is attached to the button with the following

If Get(Windowmode)=1

go to field check box

halt script


That will check to see if you are in find mode (windowmode=1) and if so put the cursor into the check box field in order for you to mske your entry. If you are not in find mode it will just bypass this bit of the script



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  


Important Information

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