Re: [Gambas-user] Gambas 3 Printing

2010-12-09 Thread Michael
Benoit, I am using Rev.3349 and I can set Paper Type and Paper Source but still cannot set Output Tray, Paper Size and Orientation. This applies to the GTK+ library. I can set Orientation under QT4 because that uses a completely different dialog but it introduces different problems( Paint.Begin

[Gambas-user] BUG: Textlabel contents not displaying when value changes from ""

2010-12-09 Thread George
I'm using a Textlabel with Transparent = True. This displays a numeric value that can change while the program is being used. If the value is zero, it displays nothing (.text = ""). The problem is that if the control has no .text value, and is then given one, it does not display. If the value c

[Gambas-user] About StrPtr()

2010-12-09 Thread Demosthenes Koptsis
i made an example for StrPtr, it is the next one, ' Gambas module file PUBLIC SUB Main() DIM p AS Pointer DIM s AS String p = Alloc("this is a string") 'READ #p, s s = StrPtr(p) PRINT s Free(p) END I just want to question what is the difference between 'READ #p, s s = StrPtr(p) both of the

Re: [Gambas-user] Gambas 3 GTK+ Keystroke Problem

2010-12-09 Thread Benoît Minisini
> Problem fixed. For those interested I had at some time allocated CTRL-O > as a shortcut key for a menu. I changed my mind and unchecked the CTRL > option and thought this was all I needed to do. In fact I had left just > 'o' as a shortcut key so it was intercepted by the menu system and not > pas

Re: [Gambas-user] Gambas 3 Printing

2010-12-09 Thread Benoît Minisini
> Thanks Benoit, > I have upgraded my print routines to run in V.3. The beauty of Gambas is > the ability to work around any problems. > My only outstanding problem is the inability to set the Paper > Orientation in Printer.Configure or to code it with > "hPrinter.Orientation = Printer.Landscape".

Re: [Gambas-user] Gambas 3 GTK+ Keystroke Problem

2010-12-09 Thread Michael
Problem fixed. For those interested I had at some time allocated CTRL-O as a shortcut key for a menu. I changed my mind and unchecked the CTRL option and thought this was all I needed to do. In fact I had left just 'o' as a shortcut key so it was intercepted by the menu system and not passed to