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
Install Custom Control - help needed
-
- Posts: 195
- Joined: Tuesday 26th September 2017 3:17pm
- Location: NW England
Re: Install Custom Control - help needed
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
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
Re: Install Custom Control - help needed
Ah.. after that you can delete all created packages. You can create them when you need it.
Re: Install Custom Control - help needed
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.
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.
-
- Posts: 195
- Joined: Tuesday 26th September 2017 3:17pm
- Location: NW England
Re: Install Custom Control - help needed
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.
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.
Re: Install Custom Control - help needed
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.bill-lancaster wrote: ↑Monday 11th March 2019 8:02am 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.
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.
-
- Posts: 195
- Joined: Tuesday 26th September 2017 3:17pm
- Location: NW England
Re: Install Custom Control - help needed
Thank you shodi, this is a completely new area for me, I now have the new control showing in properties/components.
Great!
Great!