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
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
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
> 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
> 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".
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