Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    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

  2. #2
    Join Date
    Aug 2003
    Posts
    2,427
    Check out the "Page.Navigate(PAGE_BACKWARD);" action. It does just what you want I think.

  3. #3
    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

  4. #4
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    In the pages On Close event set a variable to the page name.
    Dermot

    I am so out of here

  5. #5
    Join Date
    Jul 2002
    Location
    Just South of Reality
    Posts
    778
    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")

  6. #6
    Join Date
    Aug 2003
    Posts
    2,427
    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

  7. #7
    Join Date
    Oct 2005
    Location
    American Dubai
    Posts
    629
    Thanks for the help guys

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts