Indigo Rose Software
  #1  
Old 03-08-2008
Mina's Avatar
Mina Mina is offline
Forum Member
 
Join Date: Oct 2005
Location: American Dubai
Posts: 629
Page.GetNavigationHistory

Page.GetNavigationHistory

Would return a table containing all the last few pages visited or at least the one last page that "Page.Navigate(Backwards)" would jump to.

If there's another way to do this for now please inform me.
Thanks!

--Mina
Reply With Quote
  #2  
Old 03-08-2008
longedge longedge is offline
Indigo Rose Customer
 
Join Date: Aug 2003
Posts: 1,847
Check out the "Page.Navigate(PAGE_BACKWARD);" action. It does just what you want I think.
Reply With Quote
  #3  
Old 03-08-2008
Mina's Avatar
Mina Mina is offline
Forum Member
 
Join Date: Oct 2005
Location: American Dubai
Posts: 629
Hi Longedge.

I don't want to do a Page Jump. I just want the page name (which was last visited by the user) returned into a string variable

Thanks for replying though.

--Mina
Reply With Quote
  #4  
Old 03-08-2008
Dermot Dermot is offline
Indigo Rose Customer
 
Join Date: Apr 2004
Location: Vancouver, Canada
Posts: 1,520
In the pages On Close event set a variable to the page name.
__________________
Dermot

AMS Add-ons - xDialog.com

A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.
Reply With Quote
  #5  
Old 03-08-2008
holtgrewe holtgrewe is offline
Indigo Rose Customer
 
Join Date: Jul 2002
Location: Just South of Reality
Posts: 732
You could manually store all page navigation:

Code:
--Global Functions
History={}
function Page_Hist(page)
	x=Table.Count(History)+1
	Table.Insert(History, x, page)
end

--Page On PreLoad (table the page name in a History navigation table)
Page_Hist("Page 1")
Reply With Quote
  #6  
Old 03-08-2008
longedge longedge is offline
Indigo Rose Customer
 
Join Date: Aug 2003
Posts: 1,847
I started a reply along the lines of Dermot's response and that you could use a global function to add each page to a table or variable as you went. Then as I've done so many times in the past I went off on my own version of what you had asked rather than the actual question
Reply With Quote
  #7  
Old 03-08-2008
Mina's Avatar
Mina Mina is offline
Forum Member
 
Join Date: Oct 2005
Location: American Dubai
Posts: 629
Thanks for the help guys
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

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



All times are GMT -6. The time now is 11:40 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software