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

Hiding Buttons when in Find Mode


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

Recommended Posts

Posted

Is there an easy way to hide a button (or make it unclickable) when a user switches to find mode (probably by clicking a button that performs a script)? I'm still learning the basics of scripting.

Thanks in advance,

Joni

Posted

Well you should have in your script which the button calls a step that checks to see if you are in browse mode.

If [ Get ( WindowMode ) = 0 ]

Then do stuff

End If

Otherwise clicking it will do nothing.

Posted

Also, with conditional formatting, you can attach to the buttons, something like:

Get ( WindowMode) = 1

And set the button background to same as layout background. Your buttons then can't have a line or effects though, because they don't respond to conditional format.

Posted

Awesome! Aren't you guys glad that I'm here to ask you such easy questions? :

Thank you so much!

Learning "Get (WindowMode)" is going to help me a lot!

I have now found it in my Functions Reference book.

0 for Browse Mode

1 for Find Mode

2 for Preview Mode

3 if printing in progress

4 for Layout Mode

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