Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2004
    Posts
    47

    Huh? Need ComboBox To Update Image Object

    Hi...I saw an example of the combo Box where apon selection it page jumped to what ever page was selected in the ComboBox...see below

    Page.Jump(ComboBox.GetItemText("Plugin1", ComboBox.GetSelected("Plugin1")));

    I have an image object on a page with a ComboBox and I need to update the image object with what ever slide is selected in the comboBox.

    How can I modify the above code to do what I need?

    My code on how the ComboBox gets populated is below (That was step 1)
    Plugin2 is the ComboBox

    ------------------------------------------------------------------------

    --Populate a table with jpg files from the Image directory and count their numbers
    tbl_path = File.Find("AutoPlay\\Images\\PowerPoint\\", "*.jpg", false, false, nil, nil);
    img_nbr = Table.Count(tbl_path);
    Paragraph.SetText("output", "Now Showing Slide "..count.." of "..img_nbr);

    ComboBox.SetUpdate("Plugin2", false);
    for i = 1, img_nbr do
    ComboBox.AddItem ("Plugin2", "Slide "..i,"");
    end
    ComboBox.SetUpdate("Plugin2", true);

    --------------------------------------------------------------------
    Any help is greatly appreciated!

  2. #2
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    Try this

    Image.Load("Image1", tbl_path[ComboBox.GetSelected("Plugin1")]);

    This will load the image into an image object named Image1 from the table named tbl_path that was created using the File.Find command. The selected item from the combobox is used as the index number in the table.

    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 2006
    Posts
    1

    need help can someone please help me..

    i need the same kind of help..
    accept i would like to know how to setup the whole thing..
    i would want to setup the dropdown list to change the image in a frame..
    an example on what i want to do exactly is:
    http://www.tshirthell.com/store/prod...?productid=749
    if someone can please help me... thank you
    e-mail westcali2k6@yahoo.com

Similar Threads

  1. Little Help with image object
    By jlipsit in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 01-27-2004, 01:32 PM
  2. 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
  3. 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
  4. TUTORIAL: Showing and Hiding Objects in AutoPlay Menu Studio 3.0
    By Support in forum AutoPlay Menu Studio 3.0
    Replies: 0
    Last Post: 10-10-2002, 02:39 PM
  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