Jump to content
Sign in to follow this  
McCormick

Can I show "Omit" status in a field?

Recommended Posts

I am scripting a Find function that closes off all behind-the-scenes elements (in other words, the Status Bar is hidden, among other things). I want the users to be able to use the Omit feature as part of their search, but they can't see the checkbox in the status bar. Can I duplicate that box in some way, in the layout itself? Of course, it would have to work in Find mode.

My only solution is to add a new text field and build some sub-scripts to mark it appropriately along with toggling the real Omit checkbox, but that seems large and unwieldy, and would not accommodate using Alt-O instead of clicking the correct button.

Any ideas?

Share this post


Link to post
Share on other sites

Hi McCormick,

I looked into this some time ago and could not find a way to do this without using an extra global field and scripting, just as you suggest.

But hey, an extra global field is not such a problem and Alt-O doesn't work on the Mac anyway, so I sticked with that solution.

Hope somebody else comes up with something brilliant, but I would not hold my breath...

Regards,

Ernst.

Share this post


Link to post
Share on other sites

Thanks. I'll do it the hard way (it's not that hard), but if anyone does figure it out, I'd love to know!

Share this post


Link to post
Share on other sites

Hi,

2 methods I used as you can have a script while in find mode, lead your user by a script on to a "searchLayout1" where you had previously drew a graphic (static) with a unchecked checkbox.

Then set this graphic to be a button (with option resume) with script ???

Omit

Go to SearchLayout2

Layout 2 would have a static graphic with a checked checkbox.

For some reasons, you may have to set the button to "resume".

Share this post


Link to post
Share on other sites

In one solution we used Status Area also hidden, but did unlock it for find requests. You can store the status of Status area and restore it again when script is resumed.

That way we achieved our goal -- developers should have full access to everything and users only what was designed and programmed.

Share this post


Link to post
Share on other sites
Here is a sample file that I created a while back. It replicates all the functions of the status area in find mode, including the omit status.

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  

×
×
  • Create New...

Important Information

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