Search found 41 matches

by tincho
Monday 07th June 2021 8:32pm
Forum: Lounge
Topic: Creating packages for manjaro
Replies: 0
Views: 74

Creating packages for manjaro

Hellow friends. I have created installation packages for a gambas program [1] in Manjaro but the package created does not work I think. I try to open it with the software manager but a dialog box opens a few tenths of a second and ends. If someone uses Manjaro and wants to test their system if it wo...
by tincho
Friday 04th June 2021 7:30pm
Forum: General
Topic: Gambas runtime 3.16.0
Replies: 5
Views: 173

Re: Gambas runtime 3.16.0

Hi,
Maybe (I say this without testing) if you program with ide 3.16 and create the package with it, then if you install this package on a debian where there is only version 3.14 it might not work.
For example if in your program you use the Splitter control that exists from version 3.16.
Regards.
by tincho
Friday 04th June 2021 12:38pm
Forum: Component
Topic: Function Rotate(Angle As Float) As Image
Replies: 12
Views: 1182

Re: Function Rotate(Angle As Float) As Image

ok, I have managed to alter the properties of the sub components, the coordinates for the case of the indicator needle and the text. But something is wrong because the result is not as expected. I'm going to try using another graphical element, like a line. Jerry: How did you do it in javascript? Re...
by tincho
Friday 04th June 2021 9:24am
Forum: Component
Topic: Function Rotate(Angle As Float) As Image
Replies: 12
Views: 1182

Re: Function Rotate(Angle As Float) As Image

Askjerry wrote:
Friday 04th June 2021 4:23am
If we can reference the SVG subcomponents and apply movement and/or rotation... awesome GUI could be created.
it is possible, i will try to do the pointer rotation.
Regards
by tincho
Tuesday 01st June 2021 7:11pm
Forum: General
Topic: Exclude files from being displayed in a FileView control
Replies: 10
Views: 637

Re: Exclude files from being displayed in a FileView control

I have done a little testing and found that all the proposed Filters above will hide .odt files as well, I'm not sure why. Filter it because .txt has the letter "t" and .odt also, which indicates that something is not right in this way of filtering. I checked by changing .txt to .csv and in that ca...
by tincho
Tuesday 01st June 2021 6:43pm
Forum: Component
Topic: Function Rotate(Angle As Float) As Image
Replies: 12
Views: 1182

Re: Function Rotate(Angle As Float) As Image

If I get this... I can make some awesome gauges in Inkscape and have the dials rotate as needed. Hi Jerry, It is possible to use svg files in the graphic interfaces of gambas in different controls, from buttons to picturebox, the quality is excellent, it has no comparison with a pixel image. Here i...
by tincho
Tuesday 01st June 2021 11:55am
Forum: General
Topic: Exclude files from being displayed in a FileView control
Replies: 10
Views: 637

Re: Exclude files from being displayed in a FileView control

BruceSteers wrote:
Tuesday 01st June 2021 9:49am
does this work...
[EDITED]
Ok, i was checking the previous proposal and there are some errors. This version works perfect !
it was...
FileView1.Filter = ["*[^.csv][^.txt]"]
Image
But now
FileView1.Filter = ["*[^{.csv},{.txt}]"]
Image
by tincho
Tuesday 01st June 2021 9:41am
Forum: General
Topic: Exclude files from being displayed in a FileView control
Replies: 10
Views: 637

Re: Exclude files from being displayed in a FileView control

I specifically want to display all files in a directory EXCEPT "*.html" and "*.txt" files I try to filter, but not success maybe altering the class FileView.class adding Property Excuded As String[] '... Private Function CheckExcluded(sFile As String) As Boolean Dim sExcluded As String For Each sEx...
by tincho
Tuesday 01st June 2021 8:27am
Forum: Project showcase
Topic: Config class + Json file
Replies: 0
Views: 224

Config class + Json file

Hello friends. I would like to present you a method to manage the configuration of a program, which I find interesting. Together with TercoIDE we prepared this example in which in a class there are all the parameters of a program and with great flexibility can be added more. Then in any other part o...
by tincho
Thursday 20th May 2021 3:02pm
Forum: General
Topic: How to extend any class
Replies: 6
Views: 368

Re: How to extend any class

Hmm actually it looks like gb.util just does the same as you do by making a String.class so i guess your way will be sound unless you use gb.util Its correct, indeed my two targets are File.class & String.Class both inside gb.util But i test in a project (tradukisto) at the same time gb.util and my...