dbTalk Databases Forums  

Back Button

comp.databases.filemaker comp.databases.filemaker


Discuss Back Button in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Brad Anderson
 
Posts: n/a

Default Back Button - 07-03-2005 , 06:48 PM






I have read thru threads in the archive about this but found nothing
regarding FM7. Is there a way to go back to the previous layout in Fm7?

Cheers Brad


Reply With Quote
  #2  
Old   
Matt Wills
 
Posts: n/a

Default Re: Back Button - 07-03-2005 , 09:42 PM






Same as in previous versions: Other than to select the layout from the
drop-down in the Status Area, there's nothing in terms of a menu item or
permanent button, if that's what you're looking for.

You would define your own button to Go To Layout [Layout Name, Number, by
calculation, etc], or you can incorporate that same step into a script.

Matt

Brad Anderson wrote:

Quote:
I have read thru threads in the archive about this but found nothing
regarding FM7. Is there a way to go back to the previous layout in Fm7?

Cheers Brad

Reply With Quote
  #3  
Old   
42
 
Posts: n/a

Default Re: Back Button - 07-04-2005 , 02:55 AM



In article <Km1ye.7894$vE5.5274@trndny07>, I'm (AT) Witz (DOT) end says...
Quote:
Same as in previous versions: Other than to select the layout from the
drop-down in the Status Area, there's nothing in terms of a menu item or
permanent button, if that's what you're looking for.

You would define your own button to Go To Layout [Layout Name, Number, by
calculation, etc], or you can incorporate that same step into a script.

Matt
And...

Like previous version if this was a feature you wanted, you could
implement it easily enough* yourself.

Basically you need to have all your navigation scripted so that users
push buttons with scripts attached to them to move from layout to layout
(screen to screen), and then you have code in those scripts that update
a global list (implemented, for example, as simple list in a global text
field). When you click a button to navigate it pops a new entry at the
front of the list (and if the list is longer than the history length,
removes the entry at the back).

Adding a 'back' button can be as simple as going to the layout indicted
in the first entry, and then removing that entry.

Adding a 'forward' button is a touch more complicated, but essentially,
it involves implementing a list cursor (simply a counter), and then the
back/forward buttons display the layout indicated by the entry at the
cursor (without modifying the history list at all)... and of course,
when you add new entries, it clears everything ahead of the cursor
before adding an entry.

* By easily, I mean its quite easy to do if you design the navigation
system from the ground up to support this, and then build the rest of
the solution on top of it using it. If you have to retro-fit it onto an
existing system it tends to be a pile more work, with lots of bugs to
root out (e.g. misbehaving scripts that bypass the history recording
mechanism you just built)



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.