Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 10 of 10
  1. #1
    Join Date
    Sep 2004
    Posts
    8

    Link Listbox to another????

    Hi

    First thanks for this great forum that helps alot.. I have 2 questions..

    in the project i am doing, i have like a list of Countries in a listbox, that when someone should go and choose it a country of that listbox, its ask him for a french or english document in a list box, when he click on the language he/she wants, it launch a pdf that i want to the acrobat reader to be on the same cd that has all my data

    my question is, how i can do the second listbox on the same page of the first one that appear when he choose the country? is it possible??

    and how i can make acrobat reader run for these pdfs without that the user of my cd needs to install it or to have it installed on the machine he is using..


    my last question.. and is there a possible way i can add a print button to each page that belong to each section ???

    Thank you
    and waiting to hear from you soon


    Appreciated...

  2. #2
    Join Date
    Dec 2003
    Location
    The Netherlands
    Posts
    475
    Hello Audio Force

    Question1
    Set visible not selected at the attributes of the second listbox that you want want to be visible only after you have selected country in the first listbox Insert that code in the On Select event of the first listbox;
    ListBox.SetVisible("ListBox2", true);
    ListBox2 name here in the code has to correspond with your listbox name.

    Question2
    If i understand it correctly, If you open a pdf file it will open with the standard viewer. If user has no acrobat reader then you can solve it this way;
    1-Project dependencies
    2-Set a button on your page letting user know that the files are pdf and he need acrobat reader and by clicking that button user can install acrobat reader.
    If i understand you correctly, if you want pdf files to be opened even if the user has no acrobat reader or etc, i dont see it happening.

    Question3
    If i understand it correctly, you may place as many buttons to print in as many pages as it pleases you; this is all that you need
    File.Print("AutoPlay\\Docs\\MyText.txt");

    This is just a hint, you must adapt the code the way it fits in your project.

    Hope it helps

    Sside
    Last edited by sside; 10-01-2004 at 11:44 AM.

  3. #3
    Join Date
    Sep 2004
    Posts
    8
    SSide,

    thank you so much for the fast reply

    thx for the listbox problem i think that solve it, the second thing i meant, many ppl here ive read from them topic that there is a way u can make acrobat reader runs from your cd that has the data without requirement of installing it on the machine of the user who is browsing.. thats what i was asking how i can do that ?

    and i still have problem with the print part, because, i dont want to print text file actually, i wanna print the data that ive already installed in the pages in AM5 , like ive fillin my section with text files, that i want ppl to print any pages in my presentation under any section they need.. is that possible?


    Thanks again for your help... i appreciate it
    This Forums Rocks...

  4. #4
    Join Date
    Sep 2004
    Posts
    8
    one more thing in the listbox...

    as i mentioned before because i was trying it now.. i have like list of countries and then from this list box comes another listbox for user selection of 2 languages to choose from.. how do i link both together??? and to link the last listbox at the end to the pdf..

    is there a script i can use for all this amount of data, cuz i will b linking all countries :(

    Thanks again

  5. #5
    Join Date
    Dec 2003
    Location
    The Netherlands
    Posts
    475
    I'm making a litle example for you

  6. #6
    Join Date
    Dec 2003
    Location
    The Netherlands
    Posts
    475
    Here you have a little example If i have understood you right

    The printing part i don't understand. What data do you want to print?

    Sside
    Last edited by sside; 02-22-2007 at 04:56 PM.

  7. #7
    Join Date
    Aug 2003
    Posts
    2,427
    You can run Acrobat Reader directly from your finished CD and make it load a pdf. I'm not quite sure whether it would be wise to try to print the pdf all in the same set of actions. Better to open it and let the user print it from Reader I would suggest.

    IIRC there is an issue that has been mentioned in another thread about licence agreements prohibiting you from doing this ( running it directly from CD ) now although I have certainly done this succesfully in the past.

    This thread and this thread both mention the subject besides several more.

  8. #8
    Join Date
    Sep 2004
    Posts
    8

    Didnt work :(

    SSide thx for all that help appreciated, as well as longedge


    i couldnt run the example u gaved me cuz i dont have that plugin for the winbutton u added :(

    is there anyway i can run it without that plugin so i understand it?

    Thanks again
    Your help and support are my saver

  9. #9
    Join Date
    Dec 2003
    Location
    The Netherlands
    Posts
    475
    Here you have the same example with normal button

    The code is at button onClick event

    Sside
    Last edited by sside; 02-22-2007 at 04:56 PM.

  10. #10
    Join Date
    Sep 2004
    Posts
    8
    SSIDE

    Man that was more than what i wanted even

    Specially the script is wow, thanks alot man

    I appreciate it

    You made my day

Similar Threads

  1. ListBox woes
    By baddavid in forum AutoPlay Media Studio 4.0
    Replies: 1
    Last Post: 07-30-2004, 01:57 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. Listbox... how to? part 2
    By cold_fusion in forum AutoPlay Media Studio 4.0
    Replies: 7
    Last Post: 02-07-2004, 12:28 PM
  4. Dynamic ListBox
    By Bruce in forum AutoPlay Media Studio 5.0
    Replies: 7
    Last Post: 01-06-2004, 09:13 AM
  5. From listbox to listbox to flash
    By Konradsen in forum AutoPlay Media Studio 4.0
    Replies: 5
    Last Post: 05-13-2003, 06:24 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