Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 7 of 7

Thread: PDF Plugin

  1. #1
    Join Date
    Jan 2008
    Posts
    47

    PDF Plugin

    I do not want the toolbar to show on the PDF plugin. I have turned it off in the properties and in the on show put the code "PDF.ShowToolBar("Plugin1",false);". I am loading pdf files via a listbox, and on selecting the first file it opens ok with no toolbar but when I select another file from the list it loads ok but the toolbar now shows. Is there a way to stop the toolbar from showing at all.
    Appreciate any help
    sebalius

  2. #2
    Join Date
    May 2006
    Posts
    1,443
    Quote Originally Posted by PDF Plugin Help File

    boolean PDF.LoadFile (string ObjectName,string Path);

    Note : When this function called object will reset all appearace
    settings except toolbar

    toolbar remains with old state but all of others will be changed to default
    settings or document specific settings

    if you want to one style while browsing PDF documents you should re-apply
    all of your adjustments after each call of this function
    except toolbar :

    when i am testing this plugin , it was so
    i think; new version of Reader does not support this feature
    i'll check it on next version

    but it is not a big problem, you can do it manually like below

    Code:
        PDF.LoadFile("Plugin1", PDFFILE[1]);
        PDF.ShowToolBar("Plugin1", false);

  3. #3
    Join Date
    Jan 2008
    Posts
    47

    Many Thanks

    Thank you for your help, I will experiment with what you advise.
    Regards & thanks again
    sebalius

  4. #4
    Join Date
    Jan 2008
    Posts
    47
    Quote Originally Posted by reteset View Post
    except toolbar :

    when i am testing this plugin , it was so
    i think; new version of Reader does not support this feature
    i'll check it on next version

    but it is not a big problem, you can do it manually like below

    Code:
        PDF.LoadFile("Plugin1", PDFFILE[1]);
        PDF.ShowToolBar("Plugin1", false);

    Thanks, I realised I was putting the code in the wrong part of the routine, I changed my code slightly and now it is as I wanted.
    Thanks for your time on this.
    Best Regards
    sebalius

  5. #5
    Join Date
    Jul 2006
    Posts
    16
    sebalius,
    Hello, I was wondering if you would share the code for opening pdf files via listbox? I need to populate a listbox from a folder of pdf's and load them using pdf plugin but I just cannot get them to open. Thanks

  6. #6
    Join Date
    May 2006
    Posts
    1,443
    Quote Originally Posted by airwv View Post
    sebalius,
    Hello, I was wondering if you would share the code for opening pdf files via listbox? I need to populate a listbox from a folder of pdf's and load them using pdf plugin but I just cannot get them to open. Thanks
    here is a simple example that loads pdf documents to PDF plugin
    via selecting from a listbox , i also added a browse button for
    fill listbox with pdf documnets
    Attached Files

  7. #7
    Join Date
    Jul 2006
    Posts
    16
    Quote Originally Posted by reteset View Post
    here is a simple example that loads pdf documents to PDF plugin
    via selecting from a listbox , i also added a browse button for
    fill listbox with pdf documnets
    Much appreciated, THANKS!

Similar Threads

  1. FREE : PDF Object Plugin V:2
    By reteset in forum AutoPlay Media Studio 7.5 Plugins
    Replies: 35
    Last Post: 01-17-2010, 01:46 PM
  2. Free PDF Object Plugin
    By reteset in forum AutoPlay Media Studio 7.5
    Replies: 24
    Last Post: 10-23-2008, 01:47 PM
  3. pdf plugin
    By mn80 in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 09-01-2005, 07:13 AM
  4. Indigo Rose Plugin Changes
    By Lorne in forum AutoPlay Media Studio 5.0
    Replies: 4
    Last Post: 09-27-2004, 04:17 AM
  5. pdf plugin
    By fredkauf in forum AutoPlay Media Studio 5.0
    Replies: 3
    Last Post: 02-01-2004, 02:33 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