Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2004
    Posts
    1

    Basic listbox problem

    Hi!
    I have a very basic problem with listbox.
    I need to create project with a bunch of .pdf files.
    I think that listbox would be the best solution to my problem.
    But whenever I create a new listbox it doesn't work for me.
    I say insert>listbox
    I put the descritpion in item text and than with right click I insert the pdf file as file referebce. According to my thinking when I publish the project after clicking the text the pdf file should open. But nothing matters.
    I tried action file open, but all it does is it opens the same pdf for all items in the listbox.
    What am I doing wrong?
    thx

  2. #2
    Join Date
    Jun 2001
    Location
    California
    Posts
    2,014
    This is assuming you have reader on the CD and the PopupMenue plug-in.
    Just an idea...



    tblPos = Label.GetPos("Label1");
    tblSize =Label.GetSize("Label1");

    x = tblPos.X;
    y = tblPos.Y + tblSize.Height;

    tblMenu =
    {
    {text="my.pdf",type=0,checked=false,enabled=true},
    {text="myother.pdf",type=0,checked=false,enabled=t rue},

    };

    strSelected = PopupMenu.Show(tblMenu,x,y,PopupMenu.HALIGN_LEFT,P opupMenu.VALIGN_TOP);

    if (strSelected ~= "CANCELLED") then
    path_short = File.GetShortName(_SourceFolder);
    --File.Run("Acrobat 6.1\\Reader\\AcroRd32.exe", "AutoPlay\\Docs\\(strSelected)", "", SW_SHOWNORMAL, false);
    File.Run("Acrobat 6.1\\Reader\\AcroRd32.exe", "AutoPlay\\Docs\\".. strSelected, "", SW_SHOWNORMAL, false);
    end

Similar Threads

  1. Listbox Horizontal Scroll Problem
    By kpsmith in forum AutoPlay Media Studio 5.0
    Replies: 12
    Last Post: 02-11-2004, 09:52 AM
  2. Listbox indexing problem...
    By Martin_SBT in forum AutoPlay Media Studio 5.0
    Replies: 6
    Last Post: 01-28-2004, 08:43 AM
  3. INFO: Visual Basic 6.0 (SP5) Runtime Notes
    By Desmond in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 11-28-2003, 10:30 AM
  4. INFO: Visual Basic 5.0 (SP3) Runtime Notes
    By Desmond in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 11-28-2003, 10:29 AM
  5. INFO: Visual Basic 5.0 (SP3) Runtime Support Module
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-30-2002, 02:31 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