Search found 39 matches

by Quincunxian
Wednesday 17th April 2019 9:40pm
Forum: SDL & OpenGL
Topic: Your graphics card & Open GL
Replies: 0
Views: 3

Your graphics card & Open GL

This is a handy to get your Graphics card details and RAM for your Gambas Open GL Project using the Mesa Utils package. Web site is here https://www.mesa3d.org/ A good short summary https://wiki.debian.org/Mesa sudo apt install mesa-utils Example ============================================= Quin@Ru...
by Quincunxian
Wednesday 17th April 2019 11:48am
Forum: General
Topic: New Start
Replies: 2
Views: 17

Re: New Start

Welcome Sheep Rustler. I made the same transition you are making some years ago and have never looked back. From .net to programming something meaningful in Gambas took about 2 weeks. The only thing that used to throw me was swapping the languages - back then, work was .net and home hobby was Gambas...
by Quincunxian
Tuesday 19th March 2019 11:05pm
Forum: SDL & OpenGL
Topic: GLCAD - First attempt to make a CAD program with Gambas and OpenGL
Replies: 1
Views: 78

Re: GLCAD - First attempt to make a CAD program with Gambas and OpenGL

Thanks Jornmo - That's pretty cool. It will give me a basis for something to play with and see if I can attempt some of the things I need in a game. To expand on my objective to draw a grid of say 10 X 10 X 10 with each (25 Max) star as a circular object of the size & colour to match the start type....
by Quincunxian
Sunday 17th March 2019 10:44pm
Forum: SDL & OpenGL
Topic: How to draw in a GLArea?
Replies: 5
Views: 113

Re: How to draw in a GLArea?

One of the best guides I found ages ago when I was experimenting with Open GL as from a guy called NeHe. He wrote some of the examples for Gambas but like you, a search for "NeHe & Gambas" did not bring back much. He does appear to have a bit more of a general site here . and some legacy tutorials h...
by Quincunxian
Saturday 16th March 2019 11:37pm
Forum: General
Topic: Useful Links Code
Replies: 6
Views: 165

Re: Useful Links Code

I Like it !. When did the array .Max turn up or has it always been there ? Apparently it appears in other controls as well ie: ScrollView1.Children.Max I assume another little gem from BenoƮt and that's going to be very useful indeed. ! If {test} Then Continue ? Now that's a new one on me - Let me t...
by Quincunxian
Saturday 16th March 2019 4:32am
Forum: General
Topic: Code Editor Copy & Paste Behavior
Replies: 0
Views: 50

Code Editor Copy & Paste Behavior

For quite some time now, I'm finding that when I do a copy of past of some code into the same Class/Module, I get the last Sub/Func duplicated in the module without the Declaration header. ie: Public Sub Blah() Most of the time I only find this when I go to run as it obviously generates an error. I'...
by Quincunxian
Friday 15th March 2019 11:48pm
Forum: General
Topic: Useful Links Code
Replies: 6
Views: 165

Re: Useful Links Code

I had some other code that was linked to my Program so must have removed it when I took that out.

For those who have already copied the code
Dim TmpInt as Integer = 0
just needs to be amended to variable declaration at the top of the sub

I'll do an edit and put it back in
by Quincunxian
Friday 15th March 2019 8:40am
Forum: General
Topic: Useful Links Code
Replies: 6
Views: 165

Useful Links Code

I'm writing a Gambas Project Review Utility and I wanted to include some useful links as references for various Gambasy things such as database, html and graphics references. I created a form with a single scroll view with the background set to Color.White. It dynamically adds URLLabels with the Too...
by Quincunxian
Wednesday 13th March 2019 10:53pm
Forum: Component
Topic: Custom Component problem
Replies: 2
Views: 93

Re: Custom Component problem

Hi Bill, I got this from the gambas Wiki - Did not see any of the following code in your example so looks like the X{Position} ect is what you are missing For example, the value of Control._Properties is: X{Position},Y{Position},Width{Dimension},Height{Dimension},Visible=True,Enabled=True,Font{Font}...
by Quincunxian
Wednesday 13th March 2019 10:36pm
Forum: General
Topic: DateTime Error
Replies: 15
Views: 327

Re: DateTime Error

Ok that makes sense now. :roll:
Thanks to all.

I've been keeping a list of things that are either bugs(?) that need to be confirmed or a bit of a wish list.
I'll post in a new thread with a more appropriate title a bit later on.