Custom control - dependency issue?

Post

Posted
Rating:
#1 (In Topic #250)
Regular
bill-lancaster is in the usergroup ‘Regular’
My custom control uses the gambas pdf component
If the pdf component is NOT included in an application that uses my custom control then I get an error:-

Cannot load class 'PdfDocument': Unable to load class file

Am I missing something or is this the way it's supposed to be?
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Regular
jornmo is in the usergroup ‘Regular’
Take a look under point #2 under introduction:

/dev/gambas - Gambas Documentation

Online now: No Back to the top

Post

Posted
Rating:
#3
Regular
bill-lancaster is in the usergroup ‘Regular’
Thanks jornmo, I already have gb.pdf required.
Online now: No Back to the top

Post

Posted
Rating:
#4
Regular
bill-lancaster is in the usergroup ‘Regular’
 Thought I may have been using an earlier version of the control, so have double checked.  The version is the latest.
Attached is an image of my properties/information tab - is this correct?

Image

(Click to enlarge)

Online now: No Back to the top

Post

Posted
Rating:
#5
Avatar
Regular
jornmo is in the usergroup ‘Regular’
That looks right to me. How du you use it in your app? Did you make an intallation package of it, and install it on your system?

Online now: No Back to the top

Post

Posted
Rating:
#6
Regular
bill-lancaster is in the usergroup ‘Regular’
 Yes, I'm using Kubuntu 18.04, Gambas 3.12.2.
Online now: No Back to the top
1 guest and 0 members have just viewed this.