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

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

Recommended Posts

Posted

I have a button that has attached to it a script that when clicked, updates the database.  However, when users enter Find mode, if they hit the button instead of perform find, it updates everything inappropriately (YIKES!).  Is there a way for the button to know what mode the user is in and either inactivate when in Find mode or to add an ignore statement within the script if in Find Mode?  I didn't see where I could "If in Find Mode, end, end if". Appreciate any and all advice!

Posted

Use

 

If [Get(WindowMode) ≠ 1]  

//your code here

end if

 

Get(WindowMode) returns 0 if in browse mode, 1 if in find mode, or 2 if in preview mode.

This topic is 4347 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.