Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2003
    Location
    Raleigh, NC
    Posts
    80

    Is this possible with a listbox object?

    I would like to create an application that on the 1st page has a list of the titles all the other pages. I would like the user to be able to click on the title of their choice and jump to that page. I have tried putting Page.Jump actions in the Item Data but I can't get it to work. Can a listbox be used for this, or do I have to just put a bunch of buttons on the 1st page with Page.Jumps to the other pages? Thanks. I searched the forum but couldn't find an answer.

  2. #2
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    Here is one page

    http://www.indigorose.com/forums/showthread.php?t=6268

    and another

    http://www.indigorose.com/forums/showthread.php?t=7172

    and another

    http://www.indigorose.com/forums/showthread.php?t=8833

    and one in the Examples area

    http://www.indigorose.com/forums/showthread.php?t=8120

    Amazing how many times it has been discussed. I don't know if they go into it or not, but I think you could even use a Page or Application action to enumerate all the page names and populate your listbox automatically.

    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

  3. #3
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    Here you go, this will work only if your pages are named something that means something to your users.

    Code:
    -- Build a table containing all the pages
    tbPages = Application.GetPages();
    -- If the table is build correctly then do the following
    if tbPages do
    	-- traverse the table and add each item to the listbox
    	for index, pagename in tbPages do
    		ListBox.AddItem("ListBox1", pagename, "");
    	end
    end
    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
    Dec 2003
    Location
    Raleigh, NC
    Posts
    80

    page jumps w/listbox

    Thanks, Tigg. This is really helpful for someone who couldn't tell a listbox from a box of Listerine before buying AMS. There is a lot of info in the forum after all...I guess I should have searched for "listbox and page jump" instead of just "listbox". It does appear that it has been a rather frequent question. Perhaps someone who has a lot of experiences using listboxes could put a writeup in the FAQ section. Desmond has a gift for explaining clearly. Maybe he could write a "How Do I use page jumps with listboxes?" Thanks again.

  5. #5
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Desmond has a gift for explaining clearly.
    I'll second that motion. For he's a jolly good Desmond.

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. Example: Using the ListBox object
    By Ted Sullivan in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 05-07-2004, 12:24 PM
  3. INFO: Difference between the Media Player Object and the AVI Object
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-29-2002, 02:15 PM
  4. HOWTO: Make a Media Player Object Go Full Screen
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-23-2002, 11:23 AM
  5. Replies: 0
    Last Post: 10-04-2002, 10:09 AM

Posting Permissions

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