Search found 64 matches

by Askjerry
Saturday 23rd July 2022 9:21pm
Forum: Beginners
Topic: Using DrawArea - Simplified
Replies: 19
Views: 6521

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
by Askjerry
Saturday 23rd July 2022 6:46pm
Forum: Beginners
Topic: Using DrawArea - Simplified
Replies: 19
Views: 6521

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.
by Askjerry
Saturday 23rd July 2022 2:44am
Forum: Beginners
Topic: Using DrawArea - Simplified
Replies: 19
Views: 6521

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...
by Askjerry
Wednesday 13th July 2022 5:24am
Forum: Beginners
Topic: Using DrawArea - Simplified
Replies: 19
Views: 6521

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
by Askjerry
Saturday 25th June 2022 6:34pm
Forum: Component
Topic: DrawingArea PAINT.ROTATE(RAD(x))
Replies: 8
Views: 7648

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 i...
by Askjerry
Saturday 25th June 2022 12:42am
Forum: Component
Topic: DrawingArea PAINT.ROTATE(RAD(x))
Replies: 8
Views: 7648

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...
by Askjerry
Wednesday 22nd June 2022 12:49am
Forum: Component
Topic: DrawingArea PAINT.ROTATE(RAD(x))
Replies: 8
Views: 7648

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 ...
by Askjerry
Thursday 28th April 2022 10:30pm
Forum: Beginners
Topic: Form Background Picture - Scale or Tile
Replies: 9
Views: 3546

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.
Control Panel Demo.png
Control Panel Demo.png (200.49 KiB) Viewed 3156 times
Thanks,
Jerry
by Askjerry
Thursday 21st April 2022 10:53pm
Forum: Beginners
Topic: Using DrawArea - Simplified
Replies: 19
Views: 6521

Re: Using DrawArea - Simplified

I'll look into ways of ending/quitting/stopping the program. Once I get this thing running... it will be for school events, robotics meetings, etc. there won't... or shouldn't be much starting/stopping once we begin the event. Ever since starting with the Raspberry Pi I've been looking for a way to ...
by Askjerry
Wednesday 20th April 2022 9:35pm
Forum: Beginners
Topic: Using DrawArea - Simplified
Replies: 19
Views: 6521

Re: Using DrawArea - Simplified

I've made a lot of progress on the graphics and how to make really nice looking controls. Not sure if there is an interest or not... if there is, I'll zip up everything and put it here for you.
Image