dbTalk Databases Forums  

Enter Find Mode script

comp.databases.filemaker comp.databases.filemaker


Discuss Enter Find Mode script in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
K Chung
 
Posts: n/a

Default Enter Find Mode script - 07-14-2004 , 04:03 PM






Hi,

I have the question about "Enter Find Mode" script with Pause option
checked.
If a user clicks on the button, he/she moves to the different layout with
"Find" and "Cancel" button on the left side. What shall I do if I want the
user to go back to the original layout when he/she click on "Cancel" button
instead of "Find" button ?

Thank you for any kind of help.



Reply With Quote
  #2  
Old   
Malcolm Fitzgerald
 
Posts: n/a

Default Re: Enter Find Mode script - 07-14-2004 , 11:23 PM






K Chung wrote:

Quote:
Hi,

I have the question about "Enter Find Mode" script with Pause option
checked.
If a user clicks on the button, he/she moves to the different layout with
"Find" and "Cancel" button on the left side. What shall I do if I want the
user to go back to the original layout when he/she click on "Cancel" button
instead of "Find" button ?

Thank you for any kind of help.


The cancel button should "go to layout x" or a variation.

If the user has come from "any" layout then you store the layout number
that they came from before they move. On cancel you send them back to
that layout.


Reply With Quote
  #3  
Old   
Helpful Harry
 
Posts: n/a

Default Re: Enter Find Mode script - 07-14-2004 , 11:44 PM



In article <4dhJc.53$nT.1164 (AT) news (DOT) itd.umich.edu>, "K Chung"
<jooho (AT) umich (DOT) edu> wrote:

Quote:
Hi,

I have the question about "Enter Find Mode" script with Pause option
checked.
If a user clicks on the button, he/she moves to the different layout with
"Find" and "Cancel" button on the left side. What shall I do if I want the
user to go back to the original layout when he/she click on "Cancel" button
instead of "Find" button ?

Thank you for any kind of help.
There's two methods.

You may be able to use the Go To Layout command's option of "Original
Layout" to go back to where the user was. Depending on what else your
scripts are doing, this may or may not work.

If that doesn't work, then before changing layouts you can store the
layout number of the original layout in a Global field using the
Status(CurrentLayoutNumber) function. Then if the Find is cancelled you
can use the Go To Layout command's "Layout Number From Field" option to
get back to the original layout.


Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.