Search found 56 matches
- Thursday 11th August 2022 7:56am
- Forum: Component
- Topic: Gambas + PIGPIO + I2C + ADS1115 A/D Chip
- Replies: 12
- Views: 5971
Re: Gambas + PIGPIO + I2C + ADS1115 A/D Chip
Still no reply... wow... I really want to get this project moving. It looks like my option is to program an Atmel AVR in BASCOM and then read it via SPI... that is sort of Rube Goldberg... and I didn't want to interface one chip with another... because my subscribers are likely not going to have BAS...
- Sunday 24th July 2022 2:16pm
- Forum: Beginners
- Topic: Using DrawArea - Simplified
- Replies: 19
- Views: 1854
Re: Using DrawArea - Simplified
BruceSteers... I'll tinker with this.
Thank you!
Thank you!
- Saturday 23rd July 2022 9:21pm
- Forum: Beginners
- Topic: Using DrawArea - Simplified
- Replies: 19
- Views: 1854
Re: Using DrawArea - Simplified
Ok, I'll stick with DRAWINGAREA... it works and doesn't take much effort to drop in as an overlay.
Thanks,
Jerry
Thanks,
Jerry
- Saturday 23rd July 2022 6:46pm
- Forum: Beginners
- Topic: Using DrawArea - Simplified
- Replies: 19
- Views: 1854
Re: Using DrawArea - Simplified
If I create a DRAWINGAREA and paste some code on it... it works.
If I create a PICTUREBOX, then paste the exact same code... fails.
If I create a PICTUREBOX, then paste the exact same code... fails.
- Saturday 23rd July 2022 2:44am
- Forum: Beginners
- Topic: Using DrawArea - Simplified
- Replies: 19
- Views: 1854
Re: Using DrawArea - Simplified
When I read through the documentation, it said the PAINT functions could be used in a DRAWINGAREA and/or the following.. Picture Image DrawingArea Printer SvgImage DRAWINGAREA works great... I make a PICTUREBOX and load in the SVG image... then I create a DRAWINGAREA and place it over the PICTUREBOX...
- Wednesday 13th July 2022 5:24am
- Forum: Beginners
- Topic: Using DrawArea - Simplified
- Replies: 19
- Views: 1854
Re: Using DrawArea - Simplified
Feel free to use anything I have created... I'm still learning.
If you know someone who has figured out the ADS1115 chip in Gambas... that would be incredibly helpful
If you need me to zip up some files I can do that too.
Jerry
If you know someone who has figured out the ADS1115 chip in Gambas... that would be incredibly helpful

If you need me to zip up some files I can do that too.
Jerry
- Saturday 25th June 2022 6:34pm
- Forum: Component
- Topic: DrawingArea PAINT.ROTATE(RAD(x))
- Replies: 6
- Views: 511
Re: DrawingArea PAINT.ROTATE(RAD(x))
BruceSteers - I'll play with your code and do some experimenting. Cogier - Not sure what went on... but as I thought... yours rotates the entire image. With my method... I can have the overlay (drawingarea) do multiple pointers, text, and even "fluid levels" (working on that) all on ONE image if I ...
- Saturday 25th June 2022 12:42am
- Forum: Component
- Topic: DrawingArea PAINT.ROTATE(RAD(x))
- Replies: 6
- Views: 511
Re: DrawingArea PAINT.ROTATE(RAD(x))
I created a new file in QT, pasted in the code and attempted to run it... NULL OBJECT in FMAIN 36 TEMP-ERROR.png Bummer. :( I do appreciate the effort... maybe I'm just missing something small. :roll: It also appears as if your code is rotating the entire drawingarea ... ( I could be wrong) my metho...
- Wednesday 22nd June 2022 12:49am
- Forum: Component
- Topic: DrawingArea PAINT.ROTATE(RAD(x))
- Replies: 6
- Views: 511
DrawingArea PAINT.ROTATE(RAD(x))
I have become pretty good at making gauges for GAMBAS, I drop in an SVG image, then overlay it with a DRAWINGAREA and draw a gauge with .stroke and .fill which look great. Public Sub drawingarea1_Draw() Dim cx As Integer = DrawingArea1.W / 2 'Horizontal Center Dim cy As Integer = DrawingArea1.h / 2 ...
- Thursday 28th April 2022 10:30pm
- Forum: Beginners
- Topic: Form Background Picture - Scale or Tile
- Replies: 9
- Views: 1536
Re: Form Background Picture - Scale or Tile
I found an easy work around, I just set an image box on the form, place the picture into it with "STRETCH" set to "TRUE".
Then, I set it to be the same size as the background form... for what I'm doing... it works a charm. Thanks,
Jerry
Then, I set it to be the same size as the background form... for what I'm doing... it works a charm. Thanks,
Jerry