Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2006
    Posts
    10

    Listbox Action (Page Jump) Question

    I've been trying to create a listbox that can interact with the different pages in my Autoplay project. So for example. say my project consists of pages A, B, C and D. On the first page of my project (Page A) I'd like to have a list box that would contain 3 rows (B, C and D). When one would click on row B it would page jump to it's corresponding page. I'm basically trying to use the listbox application as a navigational tool. Can anyone help me how to do this?

    Thank you

  2. #2
    Join Date
    Aug 2003
    Posts
    2,427
    I've never done that so off the top of my head I don't know but is there a reason you need to use a list box? I always use buttons but you could use hotspots over a paragraph item as easily. Just a thought...

  3. #3
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    I would create a function that would get the pages in the project. This action returns a table, step through each entry in that table and check to see if the value matches the current page and if it does not then add it to the listbox. This will add all but the current page to your project.

    On the listbox then get the text or data and perform a page jump to that page.

    HTH
    Tigg
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

  4. #4
    Join Date
    Aug 2006
    Posts
    10
    thank you for the help! It helped a lot.

  5. #5
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    Glad to help.

    Tigg
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

  6. #6
    Join Date
    Feb 2004
    Location
    Cowfields of Germany
    Posts
    617
    you could also put your page names into the listbox and use the Get.Selected function and then put that into the Page.Jump ()

    like this...

    Code:
    function dbclick1()
    			tbSelected = ListBox.GetSelected("ListBox1");
    			if tbSelected then
    			strScript = ListBox.GetItemText("ListBox1",tbSelected[1]);
    		Page.Jump(strScript)
    	end
    end
    Hope that helps

    Chris

  7. #7
    Join Date
    Feb 2004
    Location
    Cowfields of Germany
    Posts
    617
    you may need to concat the Page.Jump function

    Code:
    Page.Jump('"'..strScript..'"')
    i think thats right.

    chris

Similar Threads

  1. Example: Page Jump using Listbox object or Combobox object
    By Corey in forum AutoPlay Media Studio 5.0 Examples
    Replies: 2
    Last Post: 07-12-2007, 06:10 AM
  2. Listbox for page jump
    By Hans Meiser in forum AutoPlay Media Studio 6.0
    Replies: 25
    Last Post: 04-10-2007, 05:05 AM
  3. HOWTO: Create a Page Template
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-26-2002, 05:20 AM
  4. INFO: Tips for Debugging Action Lists in AutoPlay Media Studio 4.0
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-03-2002, 08:38 AM
  5. SUF6.0.0.2 -- installer hangs.
    By jassing in forum Setup Factory 6.0
    Replies: 4
    Last Post: 12-19-2001, 11:28 PM

Posting Permissions

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