Re: [Gambas-user] Why is this code running twice?

2017-08-01 Thread Cam Era
Fernando, is this the code? *Private Const W As Integer = 2048 Private Const H As Integer = 2048 Public Sub DwgArea_Draw() Dim angle As Float Dim eScale As Float Dim i As Integer Print "Executing" & Now dwgArea.width = 800 ' does nothing dwgArea.Height = 1000 ' does nothing Print dwgArea.width; d

Re: [Gambas-user] Arrays of Structs

2016-11-30 Thread Cam Era
On Wed, Nov 30, 2016 at 5:27 PM, wrote: > I use structs to write binary to a file in struct order. > Nice and easy. > Not so easy with a class. > > Your example is possible. I have done similar. > > The STRUCT only defines the structure...it doesn't create the memory > allocation. > Static Priva

Re: [Gambas-user] Arrays of Structs

2016-11-28 Thread Cam Era
On Tue, Nov 29, 2016 at 3:11 PM, Benoît Minisini < gam...@users.sourceforge.net> wrote: > ... > --> This creates an inner array of 50 MapObject NULL references. > > Try that: MapObjects[50] As Struct MapObject > > By the way, I strongly suggest not to use Struct, but normal objects. > Struct were

Re: [Gambas-user] Arrays of Structs

2016-11-28 Thread Cam Era
On Tue, Nov 29, 2016 at 3:05 PM, Jussi Lahtinen wrote: > Seems that the arrays remain uninitialized... I'm not sure why. > Do you really need embedded arrays and structs? They are mainly for > interacting with libraries written in C, and using Pictures inside of the > struct kind of contradicts t

Re: [Gambas-user] Arrays of Structs

2016-11-28 Thread Cam Era
On Tue, Nov 29, 2016 at 2:40 PM, Cam Era wrote: > I expect I'm trying to do something that's not possible with Gambas, but > I'll ask this anyway. > > I'm trying to create an n x n array of a STRUCT which itself contains an > array of type STRUCT. > >

[Gambas-user] Arrays of Structs

2016-11-28 Thread Cam Era
I expect I'm trying to do something that's not possible with Gambas, but I'll ask this anyway. I'm trying to create an n x n array of a STRUCT which itself contains an array of type STRUCT. I have this declaration: Public Struct MapObjec xPos As Integer yPos As Integer Obje

[Gambas-user] Setting focus to form.

2016-11-28 Thread Cam Era
Greetings all. I suspect that this is a question with an easy answer, but I've had no luck in finding it. In short, I have a project with two forms. One is the main form, the other a splash screen. While the first form loads, I display the splash screen with: frmGenerating.show and when the

Re: [Gambas-user] Slow Gambas Startup

2016-11-23 Thread Cam Era
On Thu, Aug 4, 2016 at 5:50 AM, Nigel Verity wrote: > Hi > > I have Gambas 3.8.4 installed on 3 laptops, in each case running Mint 17.3 > Mate. While each is a different hardware spec they are similar. Two have > SSDs and one a spinning HD. > > My problem is that on 2 machines Gambas starts up in

Re: [Gambas-user] Fwd: Some screenshots of my current work on Terminal forms

2016-11-13 Thread Cam Era
Fabien, that's looking like interesting work. Nice On Sun, Nov 13, 2016 at 9:04 PM, Fabien Bodard wrote: > This a first preview of some terminal windows with VBoxes Hboxes, > Buttons, and Labels. > > -- > Fabien Bodard > > > --

Re: [Gambas-user] Unittest for Gambas

2016-11-09 Thread Cam Era
Christof, nice work. Thanks. I'll be giving this a once over with me eye :-) danke On Fri, Sep 23, 2016 at 7:48 AM, Christof Thalhofer wrote: > Hello, > > one of the things I felt Gambas was lacking, was unittests. When I was > developping software with Gambas I always had a couple of testmodu

Re: [Gambas-user] Pre-release of Gambas 3.6 (Theme Colors)

2014-11-16 Thread Cam Era
On Sun, Nov 16, 2014 at 7:53 PM, Fabien Bodard wrote: > 2014-11-16 9:48 GMT+01:00 roberto : > > Dear Caveat, > > > > you should install on your system Qt configurator to change the colors of > > tooltips ( background and foreground) > Caveat, you can check for yourself that the problem is rela

Re: [Gambas-user] Sylph: Project Miyaji initial demonstration release

2014-11-10 Thread Cam Era
Kevin, that looks like an amazing achievement and an excellent exemplar of what Gambas can achieve. Kudos. On Tue, Nov 11, 2014 at 2:08 PM, Kevin Fishburne < kevinfishbu...@eightvirtues.com> wrote: > On 11/10/2014 08:11 PM, Cam Era wrote: > > Kevin, > > > >ht

Re: [Gambas-user] Sylph: Project Miyaji initial demonstration release

2014-11-10 Thread Cam Era
Kevin, http://eightvirtues.com/sylph/Sylph_Demo_2.gambas.tar.gz returns: Not Found The requested URL /sylph/Sylph_Demo_2.gambas.tar.gz was not found on this server. On Thu, Jul 17, 2014 at 4:49 PM, Kevin Fishburne < kevinfishbu...@eightvirtues.com> wrote: The wait is over: http://eigh

Re: [Gambas-user] Gambas ready for Ubuntu Phone?

2014-09-28 Thread Cam Era
jockerfox, I'll be interested to hear how you go with this, On Sun, Sep 28, 2014 at 3:20 AM, Randall Morgan wrote: > Try Gambas compiled for Arm. I've been told it can be made to run on > Android. But I haven't tried it myself. > > On Sat, Sep 27, 2014 at 9:48 AM, Benoît Minisini < > gam...@use

Re: [Gambas-user] My appreciation and thanks

2014-05-13 Thread Cam Era
On Fri, May 9, 2014 at 1:17 AM, Jb Skaggs wrote: > I started using Gambas in 2007 / 08 and quit in 2010 becuase of job > changes and going to windows only systems I lost much of what I had > learned. But I just picked Gambas again and running it on Linux Mint. > To Benoit and the rest I want to

Re: [Gambas-user] How To Gambas 3 - Building GUI Applications

2013-10-03 Thread Cam Era
On Mon, Sep 30, 2013 at 1:11 AM, Willy Raets wrote: > Hi All, > > I'm glad to announce that the second guide in the series 'How To Gambas > 3' has been pre-released today. > This pre-release contains the first 11 chapters, more chapters are to be > added in a next release, once they are written. >

Re: [Gambas-user] Gambas 3.4.2 hanging on startup (Ubuntu 12.10 with Cinnamon desktop)

2013-07-29 Thread Cam Era
On Tue, Jul 30, 2013 at 12:48 PM, Bruce wrote: > > > This happened to me several months ago. It was caused by a non-existent > network printer. From memory, cups goes off looking for that printer > forever for some reason or other. > Bruce, you are indeed correct, modulo the non-existence netw

Re: [Gambas-user] Gambas 3.4.2 hanging on startup (Ubuntu 12.10 with Cinnamon desktop)

2013-07-28 Thread Cam Era
Benoît, thanks for zeroing in on this issue. I'll check the situation out and report back if I can find any generic fix that can help others. -- Con On Mon, Jul 29, 2013 at 12:15 PM, Benoît Minisini < gam...@users.sourceforge.net> wrote: > Le 29/07/2013 03:59, Cam Era a écri

Re: [Gambas-user] Gambas 3.4.2 hanging on startup (Ubuntu 12.10 with Cinnamon desktop)

2013-07-28 Thread Cam Era
On Mon, Jul 29, 2013 at 11:43 AM, Benoît Minisini < gam...@users.sourceforge.net> wrote: > Le 29/07/2013 03:21, Cam Era a écrit : > > > > You must get Gambas sources, or better compile and install Gambas from > sources, so that you can have debugging information. > &

Re: [Gambas-user] Gambas 3.4.2 hanging on startup (Ubuntu 12.10 with Cinnamon desktop)

2013-07-28 Thread Cam Era
Benoît, I've done some more research on the debugging steps you've provided below, and have found pointers on how to get this working. Will try and do so now and report back -- Con On Mon, Jul 29, 2013 at 11:21 AM, Cam Era wrote: > Benoît, > > thank you for the speedy

Re: [Gambas-user] Gambas 3.4.2 hanging on startup (Ubuntu 12.10 with Cinnamon desktop)

2013-07-28 Thread Cam Era
find the exact filename/path I need to look for, I can 'locate' it and then I can run the commands you suggested below. Thanks again. -- Con On Mon, Jul 29, 2013 at 10:59 AM, Benoît Minisini < gam...@users.sourceforge.net> wrote: > Le 29/07/2013 02:40, Cam Era a écri

Re: [Gambas-user] Gambas 3.4.2 hanging on startup (Ubuntu 12.10 with Cinnamon desktop)

2013-07-28 Thread Cam Era
h the desktop environment, per-se. -- Con On Mon, Jul 29, 2013 at 10:40 AM, Cam Era wrote: > > Greetings all > > I am trying to run the latest Gambas (3.4.2) on Ubuntu 12.10 (x86) system > running the Cinnamon desktop. > > I find that the application hangs part way throug

[Gambas-user] Gambas 3.4.2 hanging on startup (Ubuntu 12.10 with Cinnamon desktop)

2013-07-28 Thread Cam Era
Greetings all I am trying to run the latest Gambas (3.4.2) on Ubuntu 12.10 (x86) system running the Cinnamon desktop. I find that the application hangs part way through loading. I've run it perhaps 30 times, and only once or twice has it actually loaded to completion. Therefore, I know it can wo