Search found 1113 matches

by cogier
Tuesday 18th December 2018 4:42pm
Forum: General
Topic: how to .... larger font in information window
Replies: 8
Views: 10097

Re: how to .... larger font in information window

I have loaded a copy of Fedora 29 (64 bit) Workstation and Gambas. All works as I expected so I think you are misunderstanding the process. I have created a video using Linux Mint (as I know how to record the screen) which shows how to achieve what I was failing to explain properly last time. Hopefu...
by cogier
Monday 17th December 2018 6:18pm
Forum: General
Topic: how to .... larger font in information window
Replies: 8
Views: 10097

Re: how to .... larger font in information window

Ah! If you mean the Help part of the window then the advise given above wont work. I do not know how to make that bigger. Having said that you can select 'Message.Question' then while the cursor is on that text press F2. This will open the same window but in a browser window. There you can make the ...
by cogier
Monday 17th December 2018 2:31pm
Forum: General
Topic: how to .... larger font in information window
Replies: 8
Views: 10097

Re: how to .... larger font in information window

I looked at this and I found that if you changed the Editor font it worked without changing the surrounding text.

Image
by cogier
Wednesday 12th December 2018 11:12am
Forum: General
Topic: Json formating output
Replies: 10
Views: 12871

Re: Json formating output

Your code works but you can use .Max instead of .Count -1 and you don't need so many brackets in the 'Save' line. For iCount = 0 To sFile.Max sLoad2 &= sFile[iCount] & gb.NewLine Next File.save("~/testfile2.txt", sLoad2) However Gambas can do this in one line with 'Join', no need f...
by cogier
Tuesday 11th December 2018 1:38pm
Forum: General
Topic: Json formating output
Replies: 10
Views: 12871

Re: Json formating output

Let's try and breakdown the line Dim sFile As String[] = Split(File.Load("~/airplane files/testfile.txt"), gb.NewLine) for you by separating out the individual commands. The attached program does the same as the single line. I have added a Variable along with a Print and Stop command. Publ...
by cogier
Monday 10th December 2018 6:26pm
Forum: General
Topic: Json formating output
Replies: 10
Views: 12871

Re: Json formating output

Try changing the line in my program from: -
Dim sFile As String[] = Split(File.Load("../json.txt"), gb.NewLine)
To: -
Dim sFile As String[] = Split(File.Load("~/airplane files/testfile.txt"), gb.NewLine)
by cogier
Monday 10th December 2018 4:13pm
Forum: General
Topic: Json formating output
Replies: 10
Views: 12871

Re: Json formating output

Have a look at the attached program. Hopefully this will help.

Image
Test2-0.0.1.tar.gz
(32.89 KiB) Downloaded 514 times
by cogier
Sunday 9th December 2018 12:37pm
Forum: General
Topic: How to open an old project from 2006 with Gambas 3.11.4?
Replies: 3
Views: 4987

Re: How to open an old project from 2006 with Gambas 3.11.4?

I have messed about with the code from here https://sourceforge.net/p/gambas/mailman/attachment/1137704407.9668.2.camel%40linex-QL6ZhO/1/ The issues I found: - There were lots of Var as Byte[] which need to be Var as New Byte[] This line I changed from RETURN m_ptab[(CLng(m_ltab[x]) + CLng(m_ltab[y]...
by cogier
Saturday 8th December 2018 12:40pm
Forum: General
Topic: Json formating output
Replies: 10
Views: 12871

Re: Json formating output

Can you upload the JSON file please.
by cogier
Wednesday 5th December 2018 3:55pm
Forum: General
Topic: how to index a collection
Replies: 2
Views: 4749

Re: how to index a collection

Hi greyghost4 and welcome to the forum, I cannot work out what you mean by needing to 'index' the data. I presume listofdata is a Collection . I have attached a sample program that opens and displays a JSON file which may help. If not please can you post a copy of your JSON file and a little more de...