Search found 702 matches

by cogier
Monday 17th May 2021 3:23pm
Forum: Beginners
Topic: Modules Documentation
Replies: 5
Views: 48

Re: Modules Documentation

Just curious on how you both came to Gambas… 1981 Sinclair ZX81 - Sinclair BASIC 1982 Sinclair Spectrum - Sinclair BASIC Sinclair QL 1st PC Olivetti 286, 640k Ram, 40 MB hard drive - MS DOS 3, GW BASIC and Power BASIC A few more PCs MS-DOS 4, 5, 6. Windows 3, 3.1, 95, 98, XP, Vista 2008 What's this...
by cogier
Monday 17th May 2021 2:47pm
Forum: General
Topic: Procedure Folding broken in recent release?
Replies: 2
Views: 22

Re: Procedure Folding broken in recent release?

Works for me using the shortcuts listed here.

CTRL + ENTER Collapse or expand the current procedure.
CTRL + ALT + ENTER Collapse or expand all the procedures of the current file.
by cogier
Sunday 16th May 2021 12:30pm
Forum: General
Topic: Email attachments
Replies: 4
Views: 51

Re: Email attachments

OK I have sorted this. My tip is don't set SmtpClient.Alternative value to True.

The mime text/csv now works fine.

Thanks for the input.
by cogier
Sunday 16th May 2021 11:29am
Forum: General
Topic: Open gb.Form.Dialog maximised (full screen)
Replies: 3
Views: 43

Re: Open gb.Form.Dialog maximised (full screen)

I have had a look at this, and I can't work out how to do this. Sorry.
by cogier
Saturday 15th May 2021 1:11pm
Forum: General
Topic: gb.desktop.x11
Replies: 15
Views: 661

Re: gb.desktop.x11

The Stable ppa has been fixed. All is OK now.....
by cogier
Saturday 15th May 2021 12:23pm
Forum: Beginners
Topic: Modules Documentation
Replies: 5
Views: 48

Re: Modules Documentation

Hi Zyfriala and welcome to the forum. A module is just another place to put code. I have attached a very simple example that multiplies 2 numbers. There are books on Gambas available here and here that might help. You can have a look at the Gambas Farm to see examples of using DataBases. TestApp-0.1...
by cogier
Saturday 15th May 2021 11:25am
Forum: General
Topic: Email attachments
Replies: 4
Views: 51

Re: Email attachments

Thanks PJBlack but I have seen that information.

I have tried: -
Email.Add("/tmp/Booking.csv", "text/csv")
and
Email.Add(sNew.Join(gb.NewLine), "text/csv", "Booking.csv")
but neither work for me, the email is sent but not with any attachment.
by cogier
Saturday 15th May 2021 8:52am
Forum: General
Topic: Email attachments
Replies: 4
Views: 51

Email attachments

Does anybody know how to add an attachment to Gambas email?

The command
Dim Email As New SmtpClient

Email.Add(What do I put here?)

Email.Add
by cogier
Friday 14th May 2021 2:18pm
Forum: General
Topic: Automatic change of Row Height with WordWrap ?
Replies: 12
Views: 456

Re: Automatic change of Row Height with WordWrap ?

I'm glad it helped. I have tried your code which works well. Before publishing code I suggest you run from the Project menu Compile all . This would have told you about the unused variables. Also, there is no need to make H = 0 as it is that when you create it. https://www.cogier.com/gambas/CompileA...
by cogier
Thursday 13th May 2021 4:56pm
Forum: General
Topic: Automatic change of Row Height with WordWrap ?
Replies: 12
Views: 456

Re: Automatic change of Row Height with WordWrap ?

1/. The reason the panel you wanted did not work is that you needed to 'Arrange' it so the GridView could expand. 2/. It took some experimentation, but I think you will find that the cells will now auto adjust. 3/. The .Font.Underline works for me. https://www.cogier.com/gambas/GViewProject.png Here...