Re: [Gambas-user] Gambas2 Grab in Gambas3

2016-11-11 Thread Richard Welch
the original drawing process. So I'm happy. What was for you, no doubt, a simple observation has saved me a lot of hassle. Thank you. Richard On 09/11/16 17:53, Fabien Bodard wrote: > 2016-11-09 17:45 GMT+01:00 Richard Welch : >> Fabien, thank you for your reply. >> >

Re: [Gambas-user] Gambas2 Grab in Gambas3

2016-11-09 Thread Richard Welch
Paint.Begin(hImage) > DrawARect() >Paint.End > > End > > > With that you have only one drawing function (DrawARect) able to draw > every where ... even on a printer. This is the way used in most of the > components too > > 2016-11-08 12:52 GMT+01:00 Richard

[Gambas-user] Gambas2 Grab in Gambas3

2016-11-08 Thread Richard Welch
I need a simple way to copy the current image in a visible DrawingArea to a hidden PictureBox. The project was written in Gambas2, where a simple Grab method did the trick, but in G3 this does something different so the converted code does not function fully. FMain.pbxPicture.W = FMain.drwRep.

[Gambas-user] Segmentation fault

2016-11-07 Thread Richard Welch
Of course, this may already have been solved, or even be the expected behaviour *I have already found a way round* (see below), so this is purely for the benefit of others. I have recently migrated from Ubuntu 12.04 (which has Gambas 2 in its repositories - Gambas 2.23.1) to Ubuntu 16.04

[Gambas-user] Val function changed behaviour, porting gambas2 to gambas3

2016-11-02 Thread Richard Welch
This is just noting the change in case it might help someone else - not a plea for a change. In g2, the Val function would ignore that part of its input string after the first space, so that, for instance Val("12 3 5") would return the integer value 12. Here and there, I use this feature when