Search found 139 matches

by PJBlack
Sunday 13th June 2021 10:52pm
Forum: General
Topic: Not the farm problem but mine Solved
Replies: 14
Views: 189

Re: Not the farm problem but mine Solved

Enumeration declaration { PUBLIC | PRIVATE } ENUM Identifier [ = Value ] [ , Identifier [ = Value ] ... ] This keyword declares an enumeration, i.e. a list of integer constants. If the Value of a constant is not specified, then it will be the value of the previous constant plus one, or zero for the...
by PJBlack
Sunday 06th June 2021 1:36am
Forum: General
Topic: How to Declared a Array in Gambas
Replies: 3
Views: 152

Re: How to Declared a Array in Gambas

Public QuickTenderName[7] As String Public QuickTenderValue[7] As String should work ... maybe better: Public QuickTenderName as String[] Public QuickTenderValue as String[] public/privat sub/function() dim QuickTenderName as New string[] dim QuickTenderValue as New string[] ... ... QuickTenderName...
by PJBlack
Friday 04th June 2021 10:28pm
Forum: General
Topic: Form Centre
Replies: 5
Views: 206

Re: Form Centre

[System]
Gambas=3.16.90 dbd2bb3a2 (master)
OperatingSystem=Linux
Kernel=5.10.36-2-MANJARO
Architecture=x86_64
Distribution=Manjaro Linux
Desktop=XFCE

sorry quin but can't confirm :-(
by PJBlack
Tuesday 18th May 2021 11:00pm
Forum: General
Topic: PDF quandary - A cry for clarity.
Replies: 23
Views: 1166

Re: PDF quandary - A cry for clarity.

vuott wrote:
Monday 17th May 2021 2:08pm
You have to activate "gb.desktop.x11" and "gb.cairo" Components.
Doctor Watson wrote:
Tuesday 18th May 2021 3:02pm
Well, I couldn’t have known that, could I ?
Hmmmm ...
by PJBlack
Saturday 15th May 2021 12:07pm
Forum: General
Topic: Email attachments
Replies: 4
Views: 343

Re: Email attachments

did you tried:
Email.Add(File.Load("/tmp/Booking.csv"),"text/comma-separated-values",File.Name("/tmp/Booking.csv"))
by PJBlack
Saturday 15th May 2021 11:07am
Forum: General
Topic: Email attachments
Replies: 4
Views: 343

Re: Email attachments

Methode Add ( Data As String [ , MimeType As String, Name As String ] ) Description Adds an email attachment. Data is the data that usually comes directly from the file you want to attach. MimeType is the MIME type of the attached data. By default it is 'text/plain'. Name is the name of the attachme...
by PJBlack
Monday 10th May 2021 2:29pm
Forum: General
Topic: Automatic change of Row Height with WordWrap ?
Replies: 12
Views: 927

Re: Automatic change of Row Height with WordWrap ?

for me RichTextSize works perfect with qt4 qt5 gtk2 gtk3 ...

if you want to use Font.RichTextSize("BlahBlubb") you need an object too ->
SomeObjectWithFontProperty.Font.RichTextSize("BlahBlubb")
or you can do like
Dim Test as New Font
Test.Font.RichTextSize("BlahBlubb")
by PJBlack
Monday 03rd May 2021 10:59am
Forum: General
Topic: gb.desktop.x11
Replies: 15
Views: 1179

Re: gb.desktop.x11

charlie, for me it works with:

Gambas=3.16.90 f524a2eb9 (master)
OperatingSystem=Linux
Kernel=5.10.32-1-MANJARO
Architecture=x86_64
Distribution=Manjaro Linux
Desktop=XFCE
by PJBlack
Friday 30th April 2021 11:00am
Forum: General
Topic: [Solved] Send ESC/PoS To the Printer
Replies: 4
Views: 408

Re: Send ESC/PoS To the Printer

in Print the ; means sending continuous the values --> &H1B -> 40 ;; means sending a space between the values --> &H1B -> &H20 -> 40 , means sending a tab between the values --> &H1B -> &H09 -> 40 and at last sign it means sending NO line feed [edited] i doubt the printer wants the ; yes ... the pri...