Jump to content
Sign in to follow this  
Macfreq

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?

Thanks.

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

endif

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

HTH

Phil

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Who Viewed the Topic

    1 member has viewed this topic:
    vwgtiturbo 
×
×
  • Create New...

Important Information

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