Install Custom Control - help needed

Post

Posted
Rating:
#1 (In Topic #238)
Regular
bill-lancaster is in the usergroup ‘Regular’
 This is my first attempt to install a custom component.
I've downloaded the vertical progress bar component (VerticalProgressBar-0.2.0.tar.bz2) from the farm and have run 'make installation package' but don't really know where to put the output. (Destination Directory)
Any help would be appreciated
Online now: No Back to the top

Post

Posted
Rating:
#2
Trainee
 Is easy. I don't know what distro you are using, but all you have to do after create installation packages is to install the gambas3-moviga-verticalprogressbar_0.2.0-0ubuntu1_all.deb (if your are using a Debian Family distro or the packages extension of the distro you use) on you computer.

After that in Proyect -> Properties -> Components you can see the Moviga.verticalprogressbar component. Link it to your project and you can see it on form controls like another available gamba's control.

Regards
Online now: No Back to the top

Post

Posted
Rating:
#3
Trainee
Ah.. after that you can delete all created packages. You can create them when you need it.
Online now: No Back to the top

Post

Posted
Rating:
#4
Avatar
Regular
jornmo is in the usergroup ‘Regular’
I am glad to hear my component is still usefull, even though I haven't touched it in years :)

You can of course also just copy over the class file, and use it directly in your project as any other class file. That is the very simplest way to go about it, but you lose the abillity to have it shared across several projects, and to update it in one go.

Online now: No Back to the top

Post

Posted
Rating:
#5
Regular
bill-lancaster is in the usergroup ‘Regular’
 Thanks for the replies.
Sorry, should have said, Kubuntu 18.04;; Gambas 3.12.2.
The Installation Package process asks for 'destination directory', which I gave as the folder where gambas installation files are.  Indeed, there is a collection of .deb files there (including gambas3-moviga-verticalprogressbar-gtk_0.2.0-0ubuntu1_all.db) but nothing shows in properties/components.  I probably have the files in the wrong place.
Online now: No Back to the top

Post

Posted
Rating:
#6
Trainee

bill-lancaster said

Thanks for the replies.
Sorry, should have said, Kubuntu 18.04;; Gambas 3.12.2.
The Installation Package process asks for 'destination directory', which I gave as the folder where gambas installation files are.  Indeed, there is a collection of .deb files there (including gambas3-moviga-verticalprogressbar-gtk_0.2.0-0ubuntu1_all.db) but nothing shows in properties/components.  I probably have the files in the wrong place.

The packages that you create from gambas are the necessary ones to place them in a softare repository. It is not supposed that you have to keep them in any special place or even that you have to keep them in your machine. Of all those that are generated, you are only interested in the .deb that, once installed with gdebi, you can delete quietly.
I have an empty folder called "~/packages" and there I place the packages generated by gambas. I upload them to my repository and then delete them.
Online now: No Back to the top

Post

Posted
Rating:
#7
Regular
bill-lancaster is in the usergroup ‘Regular’
 Thank you shodi, this is a completely new area for me, I now have the new control showing in properties/components.
Great!
Online now: No Back to the top
1 guest and 0 members have just viewed this.