Gambas3 example (LCD Label) won't run

Post your Gambas programming questions here.
Post Reply
User avatar
issboss
Posts: 32
Joined: Wednesday 16th October 2019 6:20pm
Location: Ohio, USA
Contact:

Gambas3 example (LCD Label) won't run

Post by issboss »

Just to test things out now that I'm running Ubuntu 18.04 and Gambas (ver 3.14.90) is working in XFCE, I tried to run the LCD label example off the main page. I get an error that I never got before.

Cannot load class 'Timebox": Multiple Inheritance

As it is an example, it should probably run properly.

Bill
Retired 20-year USN veteran. In IT field since 1961.
User avatar
cogier
Site Admin
Posts: 1125
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: Gambas3 example (LCD Label) won't run

Post by cogier »

Hi Bill,

You are correct that the example fails with that error, I may take a look at the error at a later date. So here is an example with just 3 lines of code and a few property changes.

I also wrote a timer using a LCD that is on the Farm and it is also here.

I hope that helps.
LCD_Example.tar.gz
(12.08 KiB) Downloaded 394 times
User avatar
issboss
Posts: 32
Joined: Wednesday 16th October 2019 6:20pm
Location: Ohio, USA
Contact:

Re: Gambas3 example (LCD Label) won't run

Post by issboss »

Thanks again, Cogler. Much appreciated. I've downloaded your offering.

Bill
Retired 20-year USN veteran. In IT field since 1961.
cage
Posts: 123
Joined: Monday 2nd September 2019 5:47am
Location: Phoenix Arizona

Re: Gambas3 example (LCD Label) won't run

Post by cage »

Here is another LCD Clock program based on cogiers LCD clock program. When the program starts you can click on the clock and move it where you want it. The next time you start it, it should open in that last position you put it. If you right click the clock you can set the clock numbers color or quit the clock. As always feel free to modify the program to your liking. Thank you cogier for your really great examples which have influenced my programming skills over the years.
cage
Posts: 123
Joined: Monday 2nd September 2019 5:47am
Location: Phoenix Arizona

Re: Gambas3 example (LCD Label) won't run

Post by cage »

Sorry forgot to post the program. It's late and I have half asleep :?
Attachments
LCDClock2.tar.gz
(12.34 KiB) Downloaded 381 times
User avatar
issboss
Posts: 32
Joined: Wednesday 16th October 2019 6:20pm
Location: Ohio, USA
Contact:

Re: Gambas3 example (LCD Label) won't run

Post by issboss »

I have a few things these would be useful for. Thanks once more.

Bill
Retired 20-year USN veteran. In IT field since 1961.
User avatar
cogier
Site Admin
Posts: 1125
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: Gambas3 example (LCD Label) won't run

Post by cogier »

I have fixed the 'Example' and put it back on the Gambas Farm. The error was caused by a Class that was not even used!? :o
User avatar
issboss
Posts: 32
Joined: Wednesday 16th October 2019 6:20pm
Location: Ohio, USA
Contact:

Re: Gambas3 example (LCD Label) won't run

Post by issboss »

Oops! :oops:

Bill
Retired 20-year USN veteran. In IT field since 1961.
Post Reply