December 28, 201213 yr 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!
December 29, 201213 yr 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.
Create an account or sign in to comment