Jump to content

Controlling visibility in Find Mode?

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

Recommended Posts

Is there a way to have some buttons appear in a layout only when in Find Mode??

For example, an "omit" button.

Or a "perform find" button.

And the inverse... if I have next and previous buttons, how can I make them vanish

in Find Mode?

(In fact, I'd like those pairs to occupy the same space on screen... you see one or the other pair depending upon the mode. In both cases, the buttons need to be

transparent to show through the graphic object underneath.)

Can it be done?

Link to post
Share on other sites
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

About three ways come to mind:

1) You can switch to a nearly identical layout in find mode, except with different buttons.

2) You can put the buttons in a container field and only fill the field with the "Find" button in find mode.

3) You can use a portal and a relationship to contain a "hide" the buttons (and other objects) when the relationship is invalid. To do this define two fields:

gShow (global, number)

One (calculation, number, indexed) = 1

Define a self relationship (from your file to the same file) with gShow on the left side and One on the right side. Place a one line portal with a transparent outline on your layout. Anything in the portal (except another portal) will be visible when gShow is 1 and invisible when gShow is empty.


Link to post
Share on other sites
  • 1 month later...

I'm assuming that you are in control of the entire navigation of this database...

If so, you can always hide the "Toggle Bar" and only open it while in Find Mode. You just have to make sure it's hidden through out the database. Here is the "Find Record" script that I use:

Toggle Status Area [show]

Allow User Abort [Off]


Enter Find Mode [Pause]

Perform Find [Replace Found Set]

if["Status(CurrentError) = 0"]

Toggle Status Area [Hide,Lock]

Exit Script


Show Message["Nothing was found with your request. Try Again or Cancel?"]

if["Status(CurrentMessageChoice) = 2]

Show All Records

Toggle Status Area [Hide,Lock]

Exit Script


if["Status(CurrentMessageChoice) = 1]

end if

end if

end if

End Loop

This script work perfectly for me... Try it out!



Link to post
Share on other sites

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

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.

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.

  • Who Viewed the Topic

    1 member has viewed this topic:
    Lee Smith 

  • Create New...

Important Information

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