Results 1 to 3 of 3

Thread: [RESOLVED] Intractable PDF

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2016
    Posts
    95

    Resolved [RESOLVED] Intractable PDF

    So I have an app that works perfect. I am trying to expand upon it by adding Quests. How it would work is; I have a PDF that tells a story. Inside the PDF I need links that when pressed would fill in the monster combo box that is on another form. For example.

    A Wolf jumps from the bushes and attacks you. When you click on Wolf, the combo box will select Wolf from it's drop-down. The drop-down combo box is linked to a database with all the info of the Wolf.

    I am wondering the best method to accomplish this. It does not have to be a PDF, but it is already written out in that format.

    Thanks in advance.

    -Abe

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,302

    Re: Intractable PDF

    In order to be able to react to a click on a link, there must be some event you can handle. In the case of a PDF, there would not be any such event. I would think that an HTML document in a WebBrowser control would be the way to go. You can then handle its Navigating event to get the link when a user clicks one, cancel the navigation and do something in the rest of your app instead.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 2016
    Posts
    95

    Re: Intractable PDF

    Thanks! I will go that route.

Posting Permissions

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



Click Here to Expand Forum to Full Width