Search found 188 matches

by PJBlack
Sunday 6th June 2021 1:36am
Forum: General
Topic: [Solved] How to Declared a Array in Gambas
Replies: 4
Views: 3556

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 4th June 2021 10:28pm
Forum: General
Topic: Form Centre
Replies: 5
Views: 3533

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: 14456

Re: PDF quandary - A cry for clarity.

vuott wrote: Monday 17th May 2021 2:08pmYou have to activate "gb.desktop.x11" and "gb.cairo" Components.
Doctor Watson wrote: Tuesday 18th May 2021 3:02pmWell, 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: 3238

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: 3238

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: 7794

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 3rd May 2021 10:59am
Forum: General
Topic: gb.desktop.x11
Replies: 15
Views: 9411

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: 3472

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 t...
by PJBlack
Thursday 29th April 2021 9:01pm
Forum: General
Topic: [Solved] Send ESC/PoS To the Printer
Replies: 4
Views: 3472

Re: Send ESC/PoS To the Printer

WIKI says: Chr : This function only deals with ASCII characters (they start with &H20/32) Print : The expressions are converted to strings by the Str$ function . you can either use Dim sOut as String =Str(&H1B) & Str(40) Print #1, sOut or Print #1, &H1B; 40; etc. or Print #1, Str(&am...