-
Apr 29th, 2017, 11:32 AM
#1
Thread Starter
Lively Member
[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
-
Apr 30th, 2017, 12:07 AM
#2
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.
-
Apr 30th, 2017, 06:32 AM
#3
Thread Starter
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|