Search found 1113 matches

by cogier
Thursday 5th December 2019 6:23pm
Forum: General
Topic: Gridview column header alignment
Replies: 7
Views: 8007

Re: Gridview column header alignment

You need a Gridview on a form to run this but it works. Dim iRow, iCol As Integer Dim sText As String[] = ["One", "Two", "Three", "Four", "Five"] GridView1.Columns.Count = sText.Count GridView1.Rows.Count = sText.Count For iCol = 0 To sText.Max GridV...
by cogier
Thursday 5th December 2019 1:25pm
Forum: General
Topic: All my arrays are read-only
Replies: 16
Views: 17156

Re: All my arrays are read-only

Imagine that cogier releases an update to "Killer App" to his fan base of 10 million users.
Imagine......
by cogier
Tuesday 3rd December 2019 12:23pm
Forum: General
Topic: All my arrays are read-only
Replies: 16
Views: 17156

Re: All my arrays are read-only

One solution is to go to menu Project > Properties... > Options ...and then enable "Form controls are Public" I didn't know that one. :shock: There is another way. :arrow: There is a 'Public' property in the IDE you can change for individual controls http://www.cogier.com/gambas/TextBox.p...
by cogier
Sunday 24th November 2019 3:20pm
Forum: Project showcase
Topic: PhotoEXIF
Replies: 27
Views: 30286

Re: PhotoEXIF

I have included the 'exiftool' in my program. It's about 2.5MB. You can get the program from here . This seems to be where the issue is. The folder is Application.Path &/ "exiftool" . This error here (now at line 370) simply checks the permissions of the main file. I don't understand w...
by cogier
Sunday 24th November 2019 2:37pm
Forum: Web
Topic: GambasFarm Publish, duplicate key
Replies: 4
Views: 11653

Re: GambasFarm Publish, duplicate key

Hi Steve,

I have published your program on the Farm. I had to change "Library" to "Normal" to do it. I don't know why this is necessary but I got similar errors to you.
by cogier
Friday 22nd November 2019 9:49pm
Forum: Web
Topic: GambasFarm Publish, duplicate key
Replies: 4
Views: 11653

Re: GambasFarm Publish, duplicate key

That's a new one on me. Can you post the code here and I will try, on your behalf, to see if I get the same result?
by cogier
Sunday 17th November 2019 4:28pm
Forum: General
Topic: Action, the class and the property
Replies: 11
Views: 11771

Re: Action, the class and the property

Note in my above example, I did not need to call the Raise method myself, as that is done behind the scenes by the control that is clicked. I included it in my example as it shows how you can trigger the routine for a separate purpose. I was hoping that some method would be called directly by actio...
by cogier
Sunday 17th November 2019 2:37pm
Forum: General
Topic: Action, the class and the property
Replies: 11
Views: 11771

Re: Action, the class and the property

What are Sunday afternoons if not for but looking at Gambas code. I have learnt a bit here. Action_Activate This is a used as a procedure and if a button has an 'Action' value then this procedure is triggered. 'sValue' is the Action text:- Public Sub Action_Activate(sValue As String) As String End I...
by cogier
Saturday 16th November 2019 4:43pm
Forum: Project showcase
Topic: PhotoEXIF
Replies: 27
Views: 30286

Re: PhotoEXIF

Thanks again for all the input. SteveDee The problem of 'Your browser needs to be updated...' is due to you not having QT5 installed. I used Synaptic and installed: - gambas3-gb-qt5 gambas3-gb-qt5-ext gambas3-gb-qt5-opengl gambas3-gb-qt5-webkit Once that's done you will, hopefully, find it works OK....
by cogier
Thursday 14th November 2019 1:55pm
Forum: Project showcase
Topic: PhotoEXIF
Replies: 27
Views: 30286

Re: PhotoEXIF

Although most people will only have picture files in their picture folders, I often end up with pictures in a mixed file folder (e.g. the Desktop, Downloads & so on). So I suggest you set up the FileView Filter, e.g. FileView1.Filter = ["*.bmp", "*.gif", "*.jpg", &...