Re: [Gambas-user] Cannot find Gambas on Suse Leap 42.2

2017-10-30 Thread Matti

Here, everything is ok with the repo:

http://download.opensuse.org/repositories/Education/openSUSE_Leap_42.2/

If it still doesn't work, you should write to the new mailing-list.

Regards

Matti

Am 30.10.2017 um 17:09 schrieb Rolf-Werner Eilert:

I had it installed twice on two different systems, but on the third one,
it suddenly doesn't appear anymore. Yast as well as zypper don't want to
know it anymore.

I looked on the website 1-click-install and downloaded a package from
"education", but it does not contain gbs3 for instance.

In this case, I urgently need gbs3.

Has someone an idea why I do not find the complete package?

Thanks !!!

Rolf

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] why this could not be? error in runtime?

2017-07-29 Thread Matti

YOU complainig-shouting about a typo!


Am 29.07.2017 um 05:53 schrieb PICCORO McKAY Lenz:

HEY TONY; ITS PICCORO; NOT PICARO! GR

in the playground wprks perfectly, i not have 3.10, but in the job i have
3.1 and at my home 3.5
its a bug in 3.9 and 3.8, *with 3.1 works perfectly in debian squeeze (very
older but better)*

2017-07-28 21:02 GMT-04:00 Adrien Prokopowicz 
:


Actually, his original code is correct. For me it runs without error in
the IDE using
the 3.10 development version, but the editor is indeed having trouble
matching the
parentheses.


me too, the edtor has some problems, when the ide made a word wrap, and i
have thesame behaviour, parentheses does not matching correctly..



I also tried it on the playground (which also uses 3.10) and it works
fine : https://gambas-playground.proko.eu/?gist=97ed16795393aa3b689
13025e5d2b83c .


tested, me too..



However the playground's editor does match the parentheses correctly. :)


jajaja excelent work!



Which Gambas version are you using ? There may be an old bug here.


3.9.1 with some git patches..

in the job i have 3.1 and at my home 3.5

its a bug in 3.9 and 3.8, with 3.1 works perfectly in debian squeeze (very
older but better)



Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2017-07-28 23:46 GMT-04:00 Tony Morehen :


It's difficult to say for sure what's happening without Piccaro's test
strings.  However, 2 things do come to mind.

First, according to Gambas doc, InStr(strinchar, ")", -n) does a left to
right search for ")", starting at -n  characters from the end of
strinchar.  So if Instr doesn't find ")", it will return 0, which, in
conjunction with the second -1, will cause mid to drop the last character
of strinchar.  So to get the answer you want, use RInstr(strinchar,")").
which will do a right to left search for ")", starting at the end of
strinchar.

Second, there may be a bug in gambas, or the documentation needs to make
clear what end of string means.  This is best explained by example:

Instr("(foo)",")",-1) returns 5
Instr("(foo)f",")",-1) returns 5
Instr("(foo)ff",")",-1) returns 0

This means that Instr(s1,s2,-1) begins its search one character before the
last character of the string.  So end of string actually means last
character of the string and the docs should make that explicit or there is
a bug if the intended meaning of end of string is the position after the
last character of the string.



On 2017-07-28 09:31 PM, Fernando Cabral wrote:


Piccoro, sorry for my previous information. Something was missing.
In fact, both versions work the same:












*  strinchar = "test )after)r"positionlen = (InStr(strinchar, ")", -1)
- 1)Print strincharPrint positionlenstrinchar = Mid(strinchar,
1, positionlen) Print strincharstrinchar = "test )after)r"
strinchar = Mid(strinchar, 1, (InStr(strinchar, ")", -1) - 1))Print
strinchar *
Both print  "test )after"

- fernando

2017-07-28 22:02 GMT-03:00 Adrien Prokopowicz <
adrien.prokopow...@gmail.com>
:

Le Sat, 29 Jul 2017 02:40:44 +0200, Jussi Lahtinen <

jussi.lahti...@gmail.com> a écrit:

No... again. My initial mail was correct. It should be:


strinchar = Mid(strinchar, 1, (InStr(strinchar, ")", -1) - 1))

But the IDE makes highlighting bug with the brackets.


Jussi

On Sat, Jul 29, 2017 at 3:33 AM, Jussi Lahtinen <
jussi.lahti...@gmail.com
wrote:

Hmmm... sorry, no mistake... I will look closer.


Jussi

On Sat, Jul 29, 2017 at 3:33 AM, Jussi Lahtinen <
jussi.lahti...@gmail.com>
wrote:

Because the line makes no sense at all. Try to remove ")".


Jussi

On Fri, Jul 28, 2017 at 11:55 PM, PICCORO McKAY Lenz <
mckaygerh...@gmail.com> wrote:

in the following code:


  strinchar = Mid(strinchar, 1, InStr(strinchar, ")", -1) - 1)

IDE said error invalid argument, but if i do:

  psotionlen = InStr(strinchar, ")", -1) - 1
   strinchar = Mid(strinchar, 1, psotionlen)

works, why?

i wnat to remove the last occurence of a char but bybass some
possible
spaces/chars at the end of string

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

Actually, his original code is correct. For me it runs without error

in
the IDE using
the 3.10 development version, but the editor is indeed having trouble
matching the
parentheses.

I also tried it on the playground (which also uses 3.10) and it works
fine : https://gambas-playground.proko.eu/?gist=97ed16795393aa3b689
13025e5d2b83c .

However the playground's editor does match the parentheses correctly. :)

Which Gambas version are you using ? There may be an old bug here.

--
Adrien Prokopowicz



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user






--

Re: [Gambas-user] New Gambas on Suse

2017-07-20 Thread Matti

Hi Rolf,

someone is putting the Gambas updates into the Suse repo. Why should there be 
an exception with 3.10?
We'll see soon...

Matti

Am 20.07.2017 um 15:35 schrieb Rolf-Werner Eilert:

Hi folks,

Now that the next version of Gambas is en route, I wonder whether it
will come on Suse Leap 42.2 automatically, as there are lots of updates
to Gambas each time I update the system.

Or will I have to compile myself, as I was used to do on my older systems?

Thank you for your insight!

Regards

Rolf



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Split: misleading Wiki

2017-05-23 Thread Matti
Very good explanation, thank you.

Am 22.05.2017 um 23:33 schrieb d4t4f...@gmail.com:
> Matti
>
> Your string has 3 substrings when split with SPLIT (STRING, "#"):
>
> Index 0: "Hello"
> Index 1: ""
> Index 2: "12345"
>
> It is documented that separators are single characters, not strings; you can 
> specify a string because any of its individual characters may be used as 
> separator.
>
> If you also specify IgnoreVoids as True, split should omit the null string 
> and return only:
>
> Index 0: "Hello"
> Index 1: "12345"
>
> HTH,
> zxMarce.
>
> On May 22, 2017, 18:02, at 18:02, Matti  wrote:
>> Ok, thank you, Tobi.
>> I'll have to start thinking again (but not tonight anymore).
>> Matti
>>
>> Am 22.05.2017 um 22:17 schrieb Tobias Boege:
>>> On Mon, 22 May 2017, Matti wrote:
>>>> If I have a string sStr="hello##12345" and want to split it:
>>>>
>>>> Dim aSplit as String[]
>>>> aSplit = Split(sStr, "##")
>>>> Print aSplit[0], aSplit[1]
>>>>
>>>> Returns always only "hello". Maybe "12345" is excluded because being
>> an integer?
>>> It is not an integer in this case. It's a string of characters and
>> Split()
>>> doesn't interpret it as an integer. Consequently it has nothing to do
>> with
>>> IgnoreVoid in my book.
>>>
>>> If anything is wrong, it is your use of the separator. According to
>> the
>>> documentation (and the implementation!), the Separator argument is a
>> *list*
>>> of separator characters, i.e. "##" will not split against the string
>> "##",
>>> but it will split against "#" or "#".
>>>
>>> To give a different example, if you had given the string
>> "abc#123,456" and
>>> separators "#," you would have gotten the array ["abc", "123",
>> "456"].
>>>> Now the Wiki says "StringArray = Split ( String [ , Separators ,
>> Escape , IgnoreVoid , KeepEscape ] )"
>>>> Where "IgnoreVoid" means "a boolean that tells Split() *not* to
>> return void elements."
>>>> By trial and error I found out that "IgnoreVoid" has to be set to
>> 'True' to return "12345". Exactly the opposite.
>>>> The Wiki should be corrected here.
>>>>
>>> I don't know what's the problem with your installation but on mine I
>> get:
>>> $ gbx3 -e 'Split("hello##12345", "##").Join("|")'
>>> hello||12345
>>>
>>> i.e. it works. Notice the empty string between "hello" and "12345"
>>> in the context of what I explained about the separators above!
>>>
>>> Regards,
>>> Tobi
>>>
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Split: misleading Wiki

2017-05-22 Thread Matti
Ok, thank you, Tobi.
I'll have to start thinking again (but not tonight anymore).
Matti

Am 22.05.2017 um 22:17 schrieb Tobias Boege:
> On Mon, 22 May 2017, Matti wrote:
>> If I have a string sStr="hello##12345" and want to split it:
>>
>> Dim aSplit as String[]
>> aSplit = Split(sStr, "##")
>> Print aSplit[0], aSplit[1]
>>
>> Returns always only "hello". Maybe "12345" is excluded because being an 
>> integer?
>>
> It is not an integer in this case. It's a string of characters and Split()
> doesn't interpret it as an integer. Consequently it has nothing to do with
> IgnoreVoid in my book.
>
> If anything is wrong, it is your use of the separator. According to the
> documentation (and the implementation!), the Separator argument is a *list*
> of separator characters, i.e. "##" will not split against the string "##",
> but it will split against "#" or "#".
>
> To give a different example, if you had given the string "abc#123,456" and
> separators "#," you would have gotten the array ["abc", "123", "456"].
>
>> Now the Wiki says "StringArray = Split ( String [ , Separators , Escape , 
>> IgnoreVoid , KeepEscape ] )"
>> Where "IgnoreVoid" means "a boolean that tells Split() *not* to return void 
>> elements."
>>
>> By trial and error I found out that "IgnoreVoid" has to be set to 'True' to 
>> return "12345". Exactly the opposite.
>>
>> The Wiki should be corrected here.
>>
> I don't know what's the problem with your installation but on mine I get:
>
>$ gbx3 -e 'Split("hello##12345", "##").Join("|")'
>hello||12345
>
> i.e. it works. Notice the empty string between "hello" and "12345"
> in the context of what I explained about the separators above!
>
> Regards,
> Tobi
>

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Split: misleading Wiki

2017-05-22 Thread Matti
If I have a string sStr="hello##12345" and want to split it:

Dim aSplit as String[]
aSplit = Split(sStr, "##")
Print aSplit[0], aSplit[1]

Returns always only "hello". Maybe "12345" is excluded because being an integer?

Now the Wiki says "StringArray = Split ( String [ , Separators , Escape , 
IgnoreVoid , KeepEscape ] )"
Where "IgnoreVoid" means "a boolean that tells Split() *not* to return void 
elements."

By trial and error I found out that "IgnoreVoid" has to be set to 'True' to 
return "12345". Exactly the opposite.

The Wiki should be corrected here.

Matti
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] ComboBox as a SearchBox?

2017-05-19 Thread Matti
Thanks, Rolf.
Good idea. Now, I have set the search string on first position of the list.
But something ist still wrong - I'll investigate.
Matti

Am 19.05.2017 um 08:47 schrieb Rolf-Werner Eilert:
> Am 18.05.2017 20:18, schrieb Matti:
>> My idea was: entering the beginning of a word in a ComboBox, the list should 
>> display all the possible matches, then either select from the list or narrow 
>> the search by entering more letters.
>> This works perfect - but when I fill the list with the matches, my search 
>> string (= ComboBox.Text) is overridden with the first result of the search. 
>> So there is no chance of searching farther.
>>
>> Ok, I have built the same now with a TextBox to search and a ListBox to show 
>> the results, but I still wonder why. It would be far more elegant...
>
> Just a vague idea - have you tried leaving the first entry out or blank
> when you fill the list?
>
> Regards
> Rolf
>
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] ComboBox as a SearchBox?

2017-05-19 Thread Matti
Thanks, Christof. This looks good.
I'll have a look at it.
Matti

Am 19.05.2017 um 08:59 schrieb Christof Thalhofer:
> Hello Matti,
>
> Am 18.05.2017 um 20:18 schrieb Matti:
>> My idea was: entering the beginning of a word in a ComboBox, the list should 
>> display all the possible matches, then either select from the list or narrow 
>> the search by entering more letters.
>> This works perfect - but when I fill the list with the matches, my search 
>> string (= ComboBox.Text) is overridden with the first result of the search. 
>> So there is no chance of searching farther.
>>
>> Ok, I have built the same now with a TextBox to search and a ListBox to show 
>> the results, but I still wonder why. It would be far more elegant...
> You may have a look here:
>
> https://github.com/Deganius/gb.deg.form
>
>
> Alles Gute
>
> Christof Thalhofer
>

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] ComboBox as a SearchBox?

2017-05-18 Thread Matti
My idea was: entering the beginning of a word in a ComboBox, the list should 
display all the possible matches, then either select from the list or narrow 
the search by entering more letters.
This works perfect - but when I fill the list with the matches, my search 
string (= ComboBox.Text) is overridden with the first result of the search. So 
there is no chance of searching farther.

Ok, I have built the same now with a TextBox to search and a ListBox to show 
the results, but I still wonder why. It would be far more elegant...
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] String[].Find finds nothing

2017-05-16 Thread Matti
Thank you all for your help.
Now, my search is really fast.

For anyone having similar problems:
1. My source was a huge unsorted JSON file. I converted it to a much smaller 
sorted text file. So, reading it into a String array, the array is already 
sorted.
2. String[].Find() indeed works with Mode=gb.Like=4. It's faster than doing the 
For...Next work yourself.
3. But gb.Like doesn't mean it finds anything matching your first characters, 
case insensitive. You have to use 'i = MyStringArray.Find(SearchString & "*", 
gb.Like, 0).

Regards, Matti

Am 10.05.2017 um 18:57 schrieb Matti:
> I tried to search an array with the 'Find' function instead of 'For...Next' 
> and 'InStr'.
>
> The wiki says:
> "String[].Find (gb)
> Function Find ( Value As String [ , Mode As Integer, Start As Integer ] ) As 
> Integer
> Returns the position of the first occurrence of Value in the array.
> If Value cannot be found, -1 is returned."
>
> But I can do what I want, I always get '-1'. No positive result ever.
>
> Attached is a tiny project that should show this behaviour.
> Where is my mistake?
> Thanks in advance
> Matti
>
> Gambas 3.9.2
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] String[].Find finds nothing

2017-05-10 Thread Matti
Jussi, could you please explain?
Yes, I have to match the beginning of the string - but what means a "heuristic 
guess for the index"?

Am 10.05.2017 um 21:25 schrieb Jussi Lahtinen:
> If you need to match only the beginning of the string, you could sort the
> array and then make heuristic guess for the index.
>
>
> Jussi
>
> On Wed, May 10, 2017 at 10:18 PM, Matti  wrote:
>
>> Yes. But as I don't know [iIndex], I have to iterate through the (huge)
>> array with 'For...Next'.
>> I hoped to make it faster with 'Find'.
>>
>> Am 10.05.2017 um 20:59 schrieb Jussi Lahtinen:
>>> For that use; String.InStr(sYourArray[iIndex], "Chr")
>>>
>>>
>>> Jussi
>>>
>>>
>>> On Wed, May 10, 2017 at 9:24 PM, Matti  wrote:
>>>
>>>> Oh yes, oh yes!
>>>> Thank you, Jorge.
>>>> I always thought, Value could also be part of a string.
>>>>
>>>> Am 10.05.2017 um 19:08 schrieb Jorge Carrión:
>>>>> Wiki says: "Returns the position of the first occurrence of Value in
>> the
>>>>> array."
>>>>> You must search for a Value of the array.
>>>>>
>>>>> In your array there isn't a Value "Chr", that is what you search, so
>>>> always
>>>>> returns -1
>>>>>
>>>>>
>>>>> Best Regars
>>>>>
>>>>> 2017-05-10 18:57 GMT+02:00 Matti :
>>>>>
>>>>>> I tried to search an array with the 'Find' function instead of
>>>>>> 'For...Next' and 'InStr'.
>>>>>>
>>>>>> The wiki says:
>>>>>> "String[].Find (gb)
>>>>>> Function Find ( Value As String [ , Mode As Integer, Start As Integer
>> ]
>>>> )
>>>>>> As Integer
>>>>>> Returns the position of the first occurrence of Value in the array.
>>>>>> If Value cannot be found, -1 is returned."
>>>>>>
>>>>>> But I can do what I want, I always get '-1'. No positive result ever.
>>>>>>
>>>>>> Attached is a tiny project that should show this behaviour.
>>>>>> Where is my mistake?
>>>>>> Thanks in advance
>>>>>> Matti
>>>>>>
>>>>>> Gambas 3.9.2
>>>>>>
>>>>>> 
>>>>>> --
>>>>>> Check out the vibrant tech community on one of the world's most
>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>> ___
>>>>>> Gambas-user mailing list
>>>>>> Gambas-user@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>>>>
>>>>>>
>>>>> 
>>>> --
>>>>> Check out the vibrant tech community on one of the world's most
>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>> ___
>>>>> Gambas-user mailing list
>>>>> Gambas-user@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>>>
>>>> 
>>>> --
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>> ___
>>>> Gambas-user mailing list
>>>> Gambas-user@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>>
>>> 
>> --
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] String[].Find finds nothing

2017-05-10 Thread Matti
Yes. But as I don't know [iIndex], I have to iterate through the (huge) array 
with 'For...Next'.
I hoped to make it faster with 'Find'.

Am 10.05.2017 um 20:59 schrieb Jussi Lahtinen:
> For that use; String.InStr(sYourArray[iIndex], "Chr")
>
>
> Jussi
>
>
> On Wed, May 10, 2017 at 9:24 PM, Matti  wrote:
>
>> Oh yes, oh yes!
>> Thank you, Jorge.
>> I always thought, Value could also be part of a string.
>>
>> Am 10.05.2017 um 19:08 schrieb Jorge Carrión:
>>> Wiki says: "Returns the position of the first occurrence of Value in the
>>> array."
>>> You must search for a Value of the array.
>>>
>>> In your array there isn't a Value "Chr", that is what you search, so
>> always
>>> returns -1
>>>
>>>
>>> Best Regars
>>>
>>> 2017-05-10 18:57 GMT+02:00 Matti :
>>>
>>>> I tried to search an array with the 'Find' function instead of
>>>> 'For...Next' and 'InStr'.
>>>>
>>>> The wiki says:
>>>> "String[].Find (gb)
>>>> Function Find ( Value As String [ , Mode As Integer, Start As Integer ]
>> )
>>>> As Integer
>>>> Returns the position of the first occurrence of Value in the array.
>>>> If Value cannot be found, -1 is returned."
>>>>
>>>> But I can do what I want, I always get '-1'. No positive result ever.
>>>>
>>>> Attached is a tiny project that should show this behaviour.
>>>> Where is my mistake?
>>>> Thanks in advance
>>>> Matti
>>>>
>>>> Gambas 3.9.2
>>>>
>>>> 
>>>> --
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>> ___
>>>> Gambas-user mailing list
>>>> Gambas-user@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>>
>>>>
>>> 
>> --
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] String[].Find finds nothing

2017-05-10 Thread Matti
Oh yes, oh yes!
Thank you, Jorge.
I always thought, Value could also be part of a string.

Am 10.05.2017 um 19:08 schrieb Jorge Carrión:
> Wiki says: "Returns the position of the first occurrence of Value in the
> array."
> You must search for a Value of the array.
>
> In your array there isn't a Value "Chr", that is what you search, so always
> returns -1
>
>
> Best Regars
>
> 2017-05-10 18:57 GMT+02:00 Matti :
>
>> I tried to search an array with the 'Find' function instead of
>> 'For...Next' and 'InStr'.
>>
>> The wiki says:
>> "String[].Find (gb)
>> Function Find ( Value As String [ , Mode As Integer, Start As Integer ] )
>> As Integer
>> Returns the position of the first occurrence of Value in the array.
>> If Value cannot be found, -1 is returned."
>>
>> But I can do what I want, I always get '-1'. No positive result ever.
>>
>> Attached is a tiny project that should show this behaviour.
>> Where is my mistake?
>> Thanks in advance
>> Matti
>>
>> Gambas 3.9.2
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] String[].Find finds nothing

2017-05-10 Thread Matti

I tried to search an array with the 'Find' function instead of 'For...Next' and 
'InStr'.

The wiki says:
"String[].Find (gb)
Function Find ( Value As String [ , Mode As Integer, Start As Integer ] ) As 
Integer
Returns the position of the first occurrence of Value in the array.
If Value cannot be found, -1 is returned."

But I can do what I want, I always get '-1'. No positive result ever.

Attached is a tiny project that should show this behaviour.
Where is my mistake?
Thanks in advance
Matti

Gambas 3.9.2


FindString-0.0.1.tar.gz
Description: application/gzip
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to dynamically add & populate variable number of tabs at runtime?

2017-04-18 Thread Matti
Hi Lee,

first of all, you have to give the GridView a X, Y, width and height. Otherwise 
it's there but doesn't show.

To reference the GridViews, create an array of them and address them as 
GridView[0], GridView[1] and so on. The [i] is the number of the TabStrip index.

Here is an example of what I did recently (tsTasks is the TabStrip):

Private aTaskText As New Object[13]
Private aTaskCheck As New Object[13]
...
   For i = 1 To 12
 tsTasks[i - 1].Text = aMonths[i]
 tsTasks.Index = i - 1

 aTaskText[i] = New TextBox(tsTasks) As "Tasks"
 With aTaskText[i]
   .X = 77
   .Y = 21
   .Width = 728
   .Height = 35
 End With

 aTaskCheck[i] = New CheckBox(tsTasks) As "CheckDone"
 With aTaskCheck[i]
   .X = 840
   .Y = 28
   .Width = 126
   .Height = 21
   .Text = ("done")
   .Tag = i
 End With


Am 19.04.2017 um 01:58 schrieb T Lee Davidson:
> Hello Folks,
>
> I have been trying to figure out how to, at runtime, create a variable number 
> of new tabs in a TabStrip, populate those tabs
> with Controls, and then be able to reference those controls, all dynamically.
>
> There seems to be little information available as to how to 1) dynamically 
> create controls, and 2) reference dynamically named
> controls after creation.
>
> Even with just a simple experiment, I cannot get a GridView to display in a 
> new tab. The Form has been given, at design-time, a
> TabStrip and two buttons. The tabs are 'closable'. One button, 'btnAddTab', 
> creates a new tab and a GridView with the new,
> current tab as parent. (At least that's what I think it is doing.) The other 
> button, 'btnTabInfo', displays info about the
> currently selected tab.
>
> And, I am assuming the GridViews need to have unique names.
>
> [code]
> ' Gambas class file
>
>
> Public Sub btnAddTab_Click()
> Dim hGridView As GridView
>
> TabStrip1.Count += 1
> TabStrip1.Text = "Tab " & TabStrip1.Index
> hGridView = New GridView(TabStrip1) As "GridView" & TabStrip1.Index
> hGridView.Show
> TabStrip1.Refresh
>
> End
>
> Public Sub btnTabInfo_Click()
>
> Print TabStrip1.Children[0].Name
> Print TabStrip1.Children[0].Enabled
> Print TabStrip1.Children[0].Visible
>
> End
>
> Public Sub TabStrip1_Close(Index As Integer)
>
> TabStrip1.Index = Index
> '   TabStrip1.Current.Children[0].Delete() 'Comment out to test if tab is 
> empty
> TabStrip1.Current.Delete()
>
> End
> [/code]
>
>
> Tab creation works, but the GridView control does not display. Any attempt to 
> close a tab without first deleting its children
> causes an exception, showing that the tab is indeed being populated with a 
> child control. Clicking on btnTabInfo for "Tab 1" gives:
> GridView1
> True
> True
>
> So, the program is doing at least some of what I've told it to. I'm obviously 
> not telling it the right thing.
>
> How does one:
> 1. Create new controls and make them visible?
> 2. Reference new controls after creation [ie. (de-)reference a string as a 
> the name of a control]?
>
>

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] EXEC progress

2017-03-22 Thread Matti
I don't know exactly what you want.
My idea would be to show a StatusBar saying which EXEC command is called.
And a ProgressBar after each EXEC command with an estimated value of progress.
Or am I completely wrong?

Am 22.03.2017 um 18:01 schrieb bill-lancaster:
> I have a series of EXEC command line jobs.  The whole lot takes some time and
> it would be nice to have some indication of progress.
> Because there's a series of EXECs, I'm using the 'Wait' function.  In this
> case it seems that 'Process_Read' doesn't report what's happening.
> Any advice would be welcome
>
> Gambas 3.9.2
> Kubuntu 14.04
>
>
>
> --
> View this message in context: 
> http://gambas.8142.n7.nabble.com/EXEC-progress-tp58674.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Mouse move ...

2017-03-21 Thread Matti
Set 'Tracking' = True.
Then:
Public Sub Form_MouseMove()

   Print Mouse.X, Mouse.Y

End


Am 21.03.2017 um 11:16 schrieb Riccardo:
> Is there a way to attach (or modify) the mouse move event to an object such
> that it is activated without the left mouse button being pressed? I want to
> monitor the X,Y position of the mouse cursor at all times on the main
> form...
>
> cheers!
>
>
>
> --
> View this message in context: 
> http://gambas.8142.n7.nabble.com/Mouse-move-tp58655.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] To the Wishlist: ListView.Sorted

2017-03-15 Thread Matti
I have a ListView here that I want to be sorted either ascending or descending.

Now, the property 'Sorted' is a boolean that allows only 'no' or 'yes 
(ascending)'.
To sort the ListView in descending order, I have to read the contents, put 
everything into an 2- or 3-dimensional array, sort this by reducing everything 
to a 1-dimensional array, read keys and texts and pictures out again and 
finally put every piece again into the ListView. Really annoying.

Wouldn't it be nice to let Gambas make the work?
Means: if the property 'Sorted' could have the values 'no', 'ascending' and 
'descending', it would be great!

Matti
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Sort multidimensional array?

2017-02-06 Thread Matti

Hi Riccardo,

this is a question I had long years ago. At this time it was not possible.
As I remember, I used a dirty workaround, reducing the two-dimensionsional array by inserting a 
"/" to a one-dimensional array, sorting it and removing the "/" later.

Depends on what array you have to sort.

Example for the workaround is attatched. Look at the FMain 'mnuSortA' and 
'mnuSortT' Subs.

Hope this helps, but I'm really not up to date.

Matti

Am 06.02.2017 um 22:23 schrieb Riccardo:

Hi,

Is it possible to use the array.sort() method on a two-dimensional array?



  


 Public arr_Response As New String[][]





Specifically, I'd like to sort the entire array based on the contents of the 
second column something like: arr_Response[][1].sort() ...




  cheers.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user




Lighttable-0.2.23.tar.gz
Description: GNU Zip compressed data
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] ImageView Content Scaling

2016-07-06 Thread Matti
Hi Nigel,

have you tried PictureBox instead of ImageView?
Without digging deeper, I remember to have used PictureBoxes with no problem of 
zooming.

Matti

Am 06.07.2016 um 20:16 schrieb Nigel Verity:
> Hi
>
> I need to display images on a form with some descriptive text.
>
> The form contains an imageview control sized at 400 x 300 px. The images it 
> will display will be sized at 1600 x 1200, which is 4x the size of the 
> imageview.
>
> I am loading the image using the following code:
>
> ===
>
> Dim myImg as Image
>
> myImg = image.load("/path/to/image.jpg")
> imageView1.image = myImg
>
> ===
>
> This displays the image full size within the control, with horizontal and 
> vertical scroll bars.
>
> I would like to display the full image within the imageview control without 
> any need to scroll e.g at 0.25 original size.
>
> Using imageView1.Zoomfit() reduces the image to a very small thumbnail - too 
> small for my requirements.
>
> Is there any way to scale the image to a user-defined scale factor?
>
> Thanks
>
> Nige  
> --
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas mime type

2016-04-06 Thread Matti
Lee,
I sent a mail this morning to thank you - but it never reached the list (used 
the wrong mail account).
I followed your first fix, and everything is working as expected.
So, don't care, and thanks again!
Matti

Am 06.04.2016 um 17:37 schrieb T Lee Davidson:
> Matti,
>
> I was wrong about the pattern in 
> "/usr/share/mimelnk/application/x-gambas3.desktop". That mimetype file is for 
> Gambas scripts,
> not Gambas executables.
>
> And, I recommend ignoring my instruction to create 
> "~/.local/share/applications/gbr3.desktop". It might be much better to just
> create the association in System Settings.
>
> Once there, go to Applications -> File Associations and search on "gambas". 
> There should be two there already which you can use
> as examples to create a "x-gambas" type. You can switch back an forth between 
> the types as you create the new one.
>
> I chose the "application-x-gambas" icon from System icons, added "*.gambas" 
> as a filename pattern, described it as "Gambas
> executable", and added "/usr/bin/gbr3" in Application Preference Order.
>
> Once I clicked Apply, the file, "~/.local/share/applications/gbr3.desktop", 
> was created and the mimetype database updated
> automatically.
>
>
> On 04/05/2016 09:47 PM, T Lee Davidson wrote:
>> On 04/05/2016 03:17 PM, Matti wrote:
>>> Unfortunately, I have to set up my system (openSUSE 42.1) completely new.
>>> I installed Gambas 3.8.4 
>>> fromhttp://download.opensuse.org/repositories/Education/openSUSE_Leap_42.1/,
>>>  and it runs ok as it did
>>> before.
>>>
>>> But the packager seems to have made a mistake, as *.gambas files are 
>>> regarded as plain text documents and won't start by
>>> clicking on them.
>>>
>>> So, does anyone know how to make KDE run *.gambas files automatically?
>> Matti,
>>
>> I think the mistake in "/usr/share/mimelnk/application/x-gambas3.desktop" is 
>> the Patterns being set to "*.g;*.G". I tried
>> correcting that to "*.gambas;*.Gambas" on my system. But, I got impatient 
>> and didn't want bother seeing if a reboot would cause
>> the new pattern to be picked up.
>>
>> Here's a quick fix.
>>
>> Ensure that you have a file "~/.local/share/applications/gbr3.desktop" with 
>> the content:
>> [Desktop Entry]
>> Exec=/usr/bin/gbr3
>> MimeType=application/gambas;
>> Name=gbr3
>> NoDisplay=true
>> Type=Application
>>
>> (It can sometimes take a minute or so for the system to recognize changes in 
>> "~/.local/share/applications".)
>>
>> Then go to System Settings -> Applications -> File Associations. Search for 
>> "gambas". It should be:
>> Filename patterns: *.gambas
>> Description: application/gambas
>> Application Preference Order: gbr3
>>
>> If it's not there, add it.
>>

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gambas mime type

2016-04-05 Thread Matti
Unfortunately, I have to set up my system (openSUSE 42.1) completely new.
I installed Gambas 3.8.4 from 
http://download.opensuse.org/repositories/Education/openSUSE_Leap_42.1/, and it 
runs ok as it did before.

But the packager seems to have made a mistake, as *.gambas files are regarded 
as plain text documents and won't start by clicking on them.

So, does anyone know how to make KDE run *.gambas files automatically?
I only found http://gambaswiki.org/wiki/howto/autorun, which is very old (gbr2).

I have a file /usr/share/applications/gambas3.desktop with the content
[Desktop Entry]
Categories=Development;IDE;
Type=Application
StartupNotify=true
Terminal=false
Encoding=UTF-8
Exec=gambas3.gambas
Name=Gambas3
Icon=gambas3
GenericName=Basic Development Environment 3
GenericName[de]=Visual Basic ähnliche Entwicklungsumgebung 3
Comment=Visual Basic like Development Environment 3
Comment[de]=Eine Visual Basic ähnliche Entwicklungsumgebung 3

And a file /usr/share/mimelnk/application/x-gambas3.desktop with the content
[Desktop Entry]
Type=MimeType
MimeType=application/x-gambasscript
Patterns=*.g;*.G
Icon=x-gambasscript
Hidden=false
X-KDE-IsAlso=text/plain
Comment=Gambas Document
Comment[af]=Gambas Dokument
...
#SUSE-Overwrite Comment[sr@Latn]=Gambas dokument
...
X-SuSE-translate=false

Anybody an idea what to do?
Thanks, Matti

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New website design in beta version

2015-10-26 Thread Matti
yes, of course, ok.

Am 26.10.2015 um 21:54 schrieb Benoît Minisini:
> Le 26/10/2015 21:51, Matti a écrit :
>> "You still have to login both on the wiki..."
>> Why login on the wiki?
>> The wiki works without login now, and that's correct.
>> Or do you want to reject people who are searching for something?
>>
> You must login if you want to modify it only!
>

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New website design in beta version

2015-10-26 Thread Matti
"You still have to login both on the wiki..."
Why login on the wiki?
The wiki works without login now, and that's correct.
Or do you want to reject people who are searching for something?



Am 26.10.2015 um 15:49 schrieb Benoît Minisini:
> Hi,
>
> I have uploaded a beta version of a new website design at:
>
> http://gambas.sourceforge.net/en/test.html
>
> You still have to login both on the wiki and the bugtracker, but the
> accounts are the same.
>
> The all contents is now stored in the wiki, so updates and translations
> will be easier.
>
> Only the top header needs to be translated through the "MakeWebSite"
> project located in '/trunk/app/others'. And the arabic version layout
> needs polishing too.
>
> I'm waiting for your comments and suggestions now... :-)
>


--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] WebView, again

2015-10-16 Thread Matti
Thanks.
I see, I still have to learn Javascript and JQuery in my old age...!

Am 15.10.2015 um 23:46 schrieb Moviga Technologies:
>   
>
> Perhaps something like this could get you started:
>
> http://jsfiddle.net/vv9gD/93/
>
> Then, read up on traversing the DOM (that's easiest to do with JQuery in
> my opinion)
>
>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] WebView, again

2015-10-15 Thread Matti
This is driving me crazy:
I have to retrieve the HTML tags that the actual cursor position is inside.
For example: ''
or ''
or 'https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] More Questions about WebView

2015-10-14 Thread Matti
Thank you for the hint. Works fine.

Am 13.10.2015 um 19:37 schrieb Moviga Technologies:
>   
>
> 1. You can use Tidy HTML through Shell
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] More Questions about WebView

2015-10-13 Thread Matti
Yes, yes, you are right :-[ .
But often, when I think something is unusual, I search www instead of YaSt...
I will remember.


Am 13.10.2015 um 22:06 schrieb Moviga Technologies:
>   
>
> Hah! So, where do you normally look when you look for packages :)
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] More Questions about WebView

2015-10-13 Thread Matti
My fault.
Didn't look in my repos (openSuSe 13.2)  - and there it is.
Will have a look at it tomorrow.

Am 13.10.2015 um 21:50 schrieb Moviga Technologies:
>   
>
> What distro are you using? It is very strange that tidy is not included
> in your repo. I have it on my Arch system, and I see that Ubuntu has it
> too (http://packages.ubuntu.com/search?keywords=tidy).
>
>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] More Questions about WebView

2015-10-13 Thread Matti
Hmm. Yes, maybe.
But I spent almost 1 hour now trying to download this and getting it to work. 
Without luck.
It's very old, and the binary doesn't react to anything...
I imagine something that a possible user of my program coulld use, too.

Am 13.10.2015 um 19:37 schrieb Moviga Technologies:
>   
>
> 1. You can use Tidy HTML through Shell
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] More Questions about WebView

2015-10-13 Thread Matti
1. Everything I write into WebView using 
'.Eval("document.execCommand('insertHTML'...)'  is written in the source code 
in one line.
There is no formatting at all, and '\n' etc are not accepted.
So, the whole document from  to  is just one line, including text 
and tables and and...
The HTML source code is absolutely illegibile this way.
How could I get this beast to format the source code like a 'normal' HTML code, 
with new lines and indentation?

2. If I have made changes in the source code, I refresh WebView with 
'WebView.HTML = ...'
Works fine - except for images and images inside 'https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Question about WebView

2015-10-06 Thread Matti

I'm playing with the WebView control, using it as an HTML editor. Works great 
so far.

But I'm missing one thing: if there are anchor tabs (


) in the document, usually the editors replace them with a little icon, so you 
can see that there is an anchor tab at this place. BlueGriffon for example uses 
a tiny anchor icon (see image).

Has anyone an idea how this could be done? The icon can't be placed in the 
document, because it has to show only in editing mode. WebView would have to 
'translate' anchor tabs into an icon on the surface.

Thanks for hints
Matti
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Question about TabStrip (or TabPanel)

2015-09-28 Thread Matti
I really missed something.
Thanks, Tobi!

Am 28.09.2015 um 19:34 schrieb Tobias Boege:
> On Mon, 28 Sep 2015, Matti wrote:
>> Every Tab of TabStrip has an own "Text" property.
>> Wouldn't it be useful to have a "Tag" property, too, for each Tab, instead 
>> of just one "Tag" for the whole control?
>> My first attempts with TabStrip always end in needing to assign something 
>> like 'URL' or 'bDirty' to the specific Tab, and "Tag" would be nice there.
>> Or am I missing something?
> I don't think you missed something. The Tag property comes all the way from
> the Control class which is not aware of specific features of TabStrip.
>
> But since Tag is a Variant, it can hold anything. Specifically you can put
> a Variant array or Collection into the single Tag property of the TabStrip
> and use that to index multiple tags. Was that clear enough?
>
> Regars,
> Tobi
>


--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Question about TabStrip (or TabPanel)

2015-09-28 Thread Matti
Every Tab of TabStrip has an own "Text" property.
Wouldn't it be useful to have a "Tag" property, too, for each Tab, instead of 
just one "Tag" for the whole control?
My first attempts with TabStrip always end in needing to assign something like 
'URL' or 'bDirty' to the specific Tab, and "Tag" would be nice there.
Or am I missing something?
Regards, Matti
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Examples

2015-09-23 Thread Matti
After a long time, I worked with Gambas again (I am now on 3.7.1).
Trying to recall long forgotten syntax, I opened the examples on the new 
software farm - but there are only a few!
So I ended up opening examples in my old svn download.

Wouldn't it be a good idea to move all te 'old' examples to the software farm? 
Newbies and Oldbies could learn how to...

Regards
Matti
--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] : why this code not working

2015-07-14 Thread Matti
Now, you declare $dbclick, but you don't set a value to it.
So, every time PictureBox1_MouseDown() starts, $dbclick gets the value 1.
Try: Private $dbclick as Integer = 0

Am 14.07.2015 um 21:01 schrieb tsukuba GIMP user:
> here is
> ' Gambas class file
>
> '  Private $dbclick As Integer
> (Unrelated content and Comment symbol because i build a package So I 
> shielded them)
> ' Public Sub PictureBox1_MouseDown()
> '   Dim dicer As Integer
> '   dicer = Int(Rnd(1, 5))
> '   $dbclick += 1 <-- i try inc $dbclick still not working...
> '   Print $dbclick <- TEST ONLY
> '   If $dbclick = 8 Then
> ' Form3.Text = ("")
> ' Form3.TextBox1.text = ("xxx!!")
> ' Form3.Show
> '   Else
> ' Goto just_keep_moveing
> '   Endif
> '   just_keep_moveing:
> '   If dicer = 1 Then
> ' Form3.Text = ("")
> ' Form3.TextBox1.Text = ("...xx.")
> ' Form3.Show
> '   Else If dicer = 2 Then
> ' Form3.Text = ("")
> ' Form3.TextBox1.text = ("xx?xx?")
> ' Form3.Show
> '   Else If dicer = 3 Then
> ' Form3.Text = ("")
> ' Form3.TextBox1.text = ("~~")
> ' Form3.Show
> '   Else If dicer = 4 Then
> ' Form3.Text = ("")
> ' Form3.TextBox1.text = ("xxx! xx~??")
> ' Form3.Show
> '   Endif
> ' End
>
>
>
>
> On 07/14/2015 02:37 PM, tsukuba GIMP user wrote:
>> i added the private var and in print number is working
>> but when number is 8 it's still forget the
>> if $dbclick = 8 then '$ is private var
>
> What is the content of your function's code now?
>
>
> Lee
> __
>
>
> --
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> --
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Settings

2014-07-27 Thread Matti
Have a look at http://gambaswiki.org/wiki/comp/gb.settings for the structure of 
the settings file.
And look at http://gambaswiki.org/wiki/comp/gb.settings/settings how to save a 
value.
So, the syntax is Settings["High_Score/xxx"] = HighScore.
Regards, Matti

Am 27.07.2014 05:02, schrieb Shane:
> I'm getting file already exists error when trying to run this code
> Settings["High_Score"] = HighScore
> am i doing this the right way? also this is a sdl program.
>
>
> [System]
> Gambas=3.5.90
> OperatingSystem=Linux
> Kernel=3.8.0-35-generic
> Architecture=x86_64
> Distribution=Linux Mint 15 Olivia
> Desktop=GNOME
> Theme=QGtk
> Language=en_AU.UTF-8
> Memory=3808M
> [Libraries]
> Cairo=libcairo.so.2.11200.14
> Curl=libcurl.so.4.3.0
> DBus=libdbus-1.so.3.7.2
> GStreamer=libgstreamer-0.10.so.0.30.0
> GStreamer=libgstreamer-1.0.so.0.6.0
> GTK+3=libgtk-3.so.0.600.4
> GTK+=libgtk-x11-2.0.so.0.2400.17
> OpenGL=libGL.so.1.2.0
> Poppler=libpoppler.so.28.0.0
> Qt4=libQtCore.so.4.8.4
> SDL=libSDL-1.2.so.0.11.4
>
> --
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] extended Combobox

2014-05-26 Thread Matti
+1
That's exactly what I need.
I made a custom ComboBox that allows searching and has a key -
but if it would be implemented, it would be shurely better and faster.

Am 25.05.2014 21:12, schrieb Karl Reinl:
> Salut,
>
> I need an extended Combobox,
> no sorry I would like to have an extended Combobox,
> where I can add elements like
> .Add(Item AS String[,key AS Variant]),
> does anybody made that yet, and want to share ?
>


--
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambas 3.5.3 update

2014-04-28 Thread Matti
If exiftools is not in your repositories, you can get it here:
http://www.sno.phy.queensu.ca/~phil/exiftool/install.html#Unix

Am 28.04.2014 20:49, schrieb Larry Moore:
> Using ...
> sudo add-apt-repository ppa:nemh/gambas3
> sudo apt-get update
> sudo apt-get install gambas3
> ​
> ... I was​ able to update the 3.1.1 that came with the unbuntu 14.04
> upgrade. However there was one of the example programs that could not run
> due to needing "exiftool". Where and how do I get this missing piece? Love
> Gambas. It is more that VB can ever hope to be.
> --
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.  Get
> unparalleled scalability from the best Selenium testing platform available.
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


--
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Building a custom MyComboBox

2014-03-03 Thread Matti
Aha! Another learning progress.

Am 03.03.2014 21:48, schrieb Tobias Boege:
> Variant can contain anything, even objects. 


--
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Building a custom MyComboBox

2014-03-03 Thread Matti
Thanks, Daniel.
But I don't understand how you can assign the aIDs Integer[] to the 
ComboBox.Tag that is a variant?
Anyway, I'd prefer a custom combo, since I need it often in a form and don't 
want to write everything again and again.

Am 03.03.2014 21:04, schrieb Daniel Quintero:
> I use this code (Obviously, without creating a custom combo):
>
> Public Sub LoadCombo()
> Dim aIDs As New Integer[]
> Dim sQuery As New String
>
>cboSample.Clear
>
>' Load Data
>hResult = $hConn.Exec("select ID, desc from MyTable")
> http://gambasdoc.org/help/comp/gb.qt4/combobox?v3  For Each hResult
>  cboSample.Add(hResult!desc)
>  aIDs.Add(hResult!ID)
>Next
>cboSample.Tag = aIDs
>
> End
>
> Public Sub cboSample_Change()
>If cboSample.Index > -1 Then
>  Message("ID associated with '" & cboSample.Text & "': " &
> cboSample.Tag[cboSample.Index])
>Endif
> End
>
> Regards
>
> *_____*
> *Lic. Daniel Quintero Rojas*
>
> *¡Saludos desde México!*
>
>
>
> On Mon, Mar 3, 2014 at 1:55 PM, Tobias Boege  wrote:
>
>> On Mon, 03 Mar 2014, Matti wrote:
>>> I'm playing around with a ComboBox that should have some special
>> features.
>>> Looked into the sources and found out how to create and inherit it.
>>> Subs, Functions and Events  work.
>>>
>>> But one thing is a complete riddle to me:
>>> In the wiki, it says: "For example, you can create a custom MyListBox
>> class that inherits ListBox <
>> http://gambasdoc.org/help/comp/gb.qt/listbox?view> but allows to
>> associate a tag with each list item."
>>> That's exactly what I'd need for MyComboBox: each list item with a tag
>> (ID from a database).
>>> Could someone give me a hint how to do that?
>>> Thanks, Matti
>>>
>> You could have a
>>
>> Private $aTags As New Variant[]
>>
>> in your class which associates a Variant with an item via the item's index.
>> You need to maintain that array, though. Watch out for the Add(), Clear()
>> and Remove() methods and the List property! I'm not familiar with the
>> sources, so I don't know if there is a smarter way (and I'm assuming that
>> you write the extended ComboBox in Gambas).
>>
>> Regards,
>> Tobi
>>
>> --
>> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>>
>>
>> --
>> Subversion Kills Productivity. Get off Subversion & Make the Move to
>> Perforce.
>> With Perforce, you get hassle-free workflows. Merge that actually works.
>> Faster operations. Version large binaries.  Built-in WAN optimization and
>> the
>> freedom to use Git, Perforce or both. Make the move to Perforce.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works.
> Faster operations. Version large binaries.  Built-in WAN optimization and the
> freedom to use Git, Perforce or both. Make the move to Perforce.
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


--
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Building a custom MyComboBox

2014-03-03 Thread Matti
Thanks, Tobi. Sounds plausible, I'll try that.
Of course, I'm trying to write this in Gambas - I don't know any other language 
except VB, but that was long ago...

Am 03.03.2014 20:55, schrieb Tobias Boege:
> On Mon, 03 Mar 2014, Matti wrote:
>> I'm playing around with a ComboBox that should have some special features.
>> Looked into the sources and found out how to create and inherit it.
>> Subs, Functions and Events  work.
>>
>> But one thing is a complete riddle to me:
>> In the wiki, it says: "For example, you can create a custom MyListBox class 
>> that inherits ListBox <http://gambasdoc.org/help/comp/gb.qt/listbox?view> 
>> but allows to associate a tag with each list item."
>> That's exactly what I'd need for MyComboBox: each list item with a tag (ID 
>> from a database).
>>
>> Could someone give me a hint how to do that?
>> Thanks, Matti
>>
> You could have a
>
> Private $aTags As New Variant[]
>
> in your class which associates a Variant with an item via the item's index.
> You need to maintain that array, though. Watch out for the Add(), Clear()
> and Remove() methods and the List property! I'm not familiar with the
> sources, so I don't know if there is a smarter way (and I'm assuming that
> you write the extended ComboBox in Gambas).
>
> Regards,
> Tobi
>


--
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Building a custom MyComboBox

2014-03-03 Thread Matti
I'm playing around with a ComboBox that should have some special features.
Looked into the sources and found out how to create and inherit it.
Subs, Functions and Events  work.

But one thing is a complete riddle to me:
In the wiki, it says: "For example, you can create a custom MyListBox class 
that inherits ListBox <http://gambasdoc.org/help/comp/gb.qt/listbox?view> but 
allows to associate a tag with each list item."
That's exactly what I'd need for MyComboBox: each list item with a tag (ID from 
a database).

Could someone give me a hint how to do that?
Thanks, Matti

--
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] ComboBox: Detect if the button was clicked

2014-02-15 Thread Matti
Having a similar problem here.
My first thoughts are:

Public Sub MyComboBox_Change()
   Dim i As Integer
   Dim bFound As Boolean = False

   For i = 0 To MyComboBox.List.Count - 1
 If MyComboBox.Text = Left(MyComboBox.List[i], Len(MyComboBox.Text)) Then
   bFound = True
   Exit
 Else
   bFound = False
 Endif
   Next

   If bFound = False Then
 Print "User typed something that is not in the list."
   Endif

End

But that fires with the first character (and every other) that is not in the 
list.
I guess it can't be done without the ComboBox_Leave() event?

If anyone has a better approach - please.

If I remember right, there was something like a 'NotInList' event for 
ComboBoxes in VB, that's what I was looking for.


Am 15.02.2014 04:56, schrieb Bruce:
> I have tried a couple of ways to determine if the user has clicked on
> the button that opens the list in a combobox with no great success. (I
> am trying to discern whether they selected a list item or typed a new
> string in the textbox.)
> It looks like I have to use the Mouse.X and Mouse.Y values to see if
> they are inside the button, but this is extrememly fragile and painful.
> Does anyone have a better idea.
>
> tia
> Bruce
>
>
> --
> Android apps run on BlackBerry 10
> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
> Now with support for Jelly Bean, Bluetooth, Mapview and more.
> Get your Android app in front of a whole new audience.  Start now.
> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] CheckBox

2014-02-15 Thread Matti
Yes, of course.
But I was talking about action groups.
To find out if the user has changed anything on a form, you can't use the 
MyActionGroup_Change() event if there are CheckBoxes on the form. They don't 
react on 'Change', and you need a separate MyCheckBoxesGroup_Click() event.
So, a 'Change' synonymous for 'Click' would be nice to catch them all in one 
event.

Am 14.02.2014 17:37, schrieb Benoît Minisini:
> Le 12/02/2014 18:56, Matti a écrit :
>> Why doesn't have the CheckBox a 'Change' event?
>> Would be very handy to use in an action group with other controls, to catch 
>> if the user made changes.
>> Now, the 'Click' events for CheckBoxes have to be handled separately.
>> Regards
>> Matti
>>
> I don't understand: the Click event *is* your Change event.
>


--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] CheckBox

2014-02-12 Thread Matti
Why doesn't have the CheckBox a 'Change' event?
Would be very handy to use in an action group with other controls, to catch if 
the user made changes.
Now, the 'Click' events for CheckBoxes have to be handled separately.
Regards
Matti

--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] To the wishlist

2014-02-06 Thread Matti
CheckBox and RadioButton:
Sometimes, just for the look-and-feel, it would be better to have the label on 
the left side of the control.
Of course, this can be done with a separate label and the text property set to 
"", but -
why not add a Label_left/right property to these controls? Would be elegant.
Regards Matti

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Issue 508 in gambas: request: specify how many decimal places ValueBox

2014-02-05 Thread Matti
I think, recently I had the same problem, and I understand the request like 
that:
I wanted to display formatted values of a database, without formatting by code.
For example,
123 --> 123,00
1647.5 --> 1.647,50
48.356 --> 48,356000

MaskBox doesn't do anything here, it leaves the data as it is. Obviously, 
MaskBox is acting only on user input.
With ValueBox, you only have the choice between 'Number' and 'Currency'. Both 
are useless here.
So I ended up with formatting by code.
No problem, but it would be really nice if MaskBox could handle data or if 
ValueBox could have more format possibilities.


Am 05.02.2014 01:47, schrieb gam...@googlecode.com:
> Updates:
>   Status: NeedsInfo
>   Labels: -Version -Type-Bug Version-TRUNK Type-Enhancement
>
> Comment #2 on issue 508 by benoit.m...@gmail.com:  request: specify how
> many decimal places ValueBox
> http://code.google.com/p/gambas/issues/detail?id=508
>
> Did you look at the MaskBox control that can do what you want? Or do you
> really need the ValueBox control?
>


--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gbx3: unable to find startup file

2014-01-06 Thread Matti
Yes, it's strange: sometimes the one repo works, sometimes the other.
And sometimes both don't work...

Am 06.01.2014 19:40, schrieb wally:
>
> I used :
> http://download.opensuse.org/repositories/home:/munix9:/gambas/openSUSE_13.1/
>
> because its only repo i know which provides alure libs and devel for the svn
> version to build gb.openal.
>
> I removed and the Edu -repo works now again
>
> thx
>
>
> On Monday 06 January 2014 19:02:43 Matti wrote:
>> Which repository do you use?
>> Here, with
>> http://download.opensuse.org/repositories/Education/openSUSE_12.3/
>> there are no problems with the last updates of 3.5.1.
>>
>> Am 06.01.2014 18:27, schrieb wally:
>>> On Monday 06 January 2014 18:21:57 wally wrote:
>>>> Hi,
>>>>
>>>> got problem with OpenSuse repository installation 3.5.1
>>>>
>>>>> gambas3
>>>> gbx3: unable to find startup file
>>>> what is a clever first step to fix this problem ?
>>>>
>>>> thx wally
>>>>
>>>> -
>>>> --- -- Rapidly troubleshoot problems before they affect your business.
>>>> Most IT organizations don't have a clear picture of how application
>>>> performance affects their revenue. With AppDynamics, you get 100%
>>>> visibility into your Java,.NET, & PHP application. Start your 15-day
>>>> FREE TRIAL of AppDynamics Pro!
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clkt
>>>> rk
>>>> ___
>>>> Gambas-user mailing list
>>>> Gambas-user@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>> sorry !
>>>
>>>> gambas 3
>>> gbx3: unable to find startup file
>>>
>>>
>>>
>>>
>>>
>>> --
>>>  Rapidly troubleshoot problems before they affect your business. Most
>>> IT organizations don't have a clear picture of how application
>>> performance affects their revenue. With AppDynamics, you get 100%
>>> visibility into your Java,.NET, & PHP application. Start your 15-day FREE
>>> TRIAL of AppDynamics Pro!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clkt
>>> rk ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>> 
>> -- Rapidly troubleshoot problems before they affect your business. Most IT
>> organizations don't have a clear picture of how application performance
>> affects their revenue. With AppDynamics, you get 100% visibility into your
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
>> Pro!
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> --
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gbx3: unable to find startup file

2014-01-06 Thread Matti
Which repository do you use?
Here, with
http://download.opensuse.org/repositories/Education/openSUSE_12.3/
there are no problems with the last updates of 3.5.1.


Am 06.01.2014 18:27, schrieb wally:
> On Monday 06 January 2014 18:21:57 wally wrote:
>> Hi,
>>
>> got problem with OpenSuse repository installation 3.5.1
>>> gambas3
>> gbx3: unable to find startup file
>> what is a clever first step to fix this problem ?
>>
>> thx wally
>>
>> 
>> -- Rapidly troubleshoot problems before they affect your business. Most IT
>> organizations don't have a clear picture of how application performance
>> affects their revenue. With AppDynamics, you get 100% visibility into your
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
>> Pro!
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> sorry !
>
>> gambas 3
> gbx3: unable to find startup file
>
>
>
>
>
> --
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Where are the examples in gambas 3.5.1?

2013-12-01 Thread Matti
G'day Carl,

something seems to be wrong in both of our repositories.
I looked at my gambas (didn't use it for quite a while) and saw that it is 
3.4.1!
Then looked into YaSt to see why it was not updated automatically.
Most of the components in the repository are 3.5.1, but some (e.g. gb.gui) are 
3.4.1.
Trying to update gambas results in a lot of dependency-conflict messages 
between 3.4 and 3.5.

So, I keep the old version until the repo is fixed.
Your problems obviously come from this version-mix.
I think you should open YaSt and set all the components back to 3.4.1. There is 
a 'versions' tab where you can choose.
Then just wait...

By the way: How to find out who is maintaining a repo? Would be great to send 
them a mail that something is wrong.
Matti

Am 30.11.2013 23:40, schrieb Carl Nilsson:
> G'day Matti:
> Now I'm getting confused again!   Is not the repository you refer to
> a repository only for the opemSUSE?  I have assumed my openSUSE 12.2
> is working fine, but it is the gambas install that gives me
> problems.  The openSUSE 12.2 I actually have comes from a
> store-boughten DVD set put out by (I think) UnixAcademy.com.  Seems
> to go on just fine.  I use the KDE gui. Reason I'm trying to stick
> with it is that I bought some moderately expensive books on SUSE
> Linux for those long winter nights (that have just
> passed).  Yesterday i removed the troublesome gambas 3.5 install and
> tried again, but munix9 is the only repo that I know that gives me
> something approaching a "one-line" install.  Once again, I had
> trouble with four packages (including the examples) with missing
> dependencies.   I couldn't initially install gambas-gb-v4l because of
> missing -tools and needing tv-common; examples needed libmlib2.so.1
> etc.  However, I played around with trying to install those packages
> one by one and finally they did install with no complaints about
> dependencies.   Now all the packages are installed (white ticks on a
> black background for all of them) at the gambas 3.5.1 -2.5 level
> except for gb-gui, gb-maps and script which are at the 3.4.1-2.29
> level.  I don't know if that is a problem?
> The fact that I got gambas 3.5 (whether I wanted it or not) from
> munix9 suggests that somebody is working and trying to keep it up to date.
> Now my examples show in gambas 3.5.1, but I still have problems.
>
> When I start gambas 3.5.1 I get my "tip of the day" and "recent
> projects".  If I go to examples, like "dragNdrop", the project opens
> and I get a "project is read only" notice.  Fair enough! I just get a
> mottled grey screen on the right.  Under the project "sources", if I
> left click "FDragNdrop", nothing happens (I need to refresh my memory
> on these operations with gambas).  If I right click it, I immediately
> get a fatal error, namely:  [2] cannot load class "_Gui':
> FMain.tvwProject_Menu.257 - and automatically exit from gambas.  All
> the examples I have tried act similarly.
>
> Now, I can't help wondering if this error is related to the fact that
> gb-gui is installed at the 3.4 level, whereas most of gambas is
> installed at 3.5 level?  So far as I'm aware (not very far!), munix9
> did not give me the option of installing at the 3.4 level.   It's
> possible that this gambas install can be retrieved quite simply by
> installing a different package - I don't know and I await advice.
>
> I recall that (as I said in my post last September 2012) I did get an
> earlier gambas3 successfully installed under a real installation of
> SUSE 10 on an older machine, so one way or another, I should be able
> to get it going under SUSE 12.2.  My (real paper) reference books are
> all about SUSE 10 and 11, but I expect are still reasonably good for
> SUSE 12.  They are my real monetary investment that I'm trying to
> save.   In addition, although I'm struggling, this is a learning
> process about real-world Linux - but not getting me far into gambas,
> which is where i really want to spend my time.  I appreciate any
> assist you can provide at this stage.
>
> In the meantime, I have downloaded Mint 13 "Maya"  and will try
> installing that tonight under VMPlayer.  I saw and downloaded Willy
> Raets ebook "how to Gambas" which gives an installing path for that
> version of Linux - which might produce an interesting comparison for me.
>
> Thank you for your continued interest.
> Carl
>
> At 10:41 AM 30/11/2013, you wrote:
>> Hi Carl,
>>
>> I don't know if this munix9.rpm is still working and up to date.
>> Right now, I can recommend (for 12.3) the repository
>> http://download.opensuse.org/reposito

Re: [Gambas-user] Where are the examples in gambas 3.5.1?

2013-11-29 Thread Matti
Hi Carl,

I don't know if this munix9.rpm is still working and up to date.
Right now, I can recommend (for 12.3) the repository
http://download.opensuse.org/repositories/Education/openSUSE_12.3/
Somebody is doing a good job there, and each stable version seems to be 
complete.
Regards, Matti

Am 29.11.2013 12:42, schrieb Carl Nilsson:
> G'day again:
> To my (slight) embarrassment, I see that I asked the same question
> fourteen months ago (27-28 Sep 2012) and got pointed in the correct
> direction by Matti - and so got gambas 3.2 with its' examples running
> on openSUSE 12.2 .  Guess that's what you expect from Seniors like
> me.  Amazing how time flies when you are busy on other things - not
> to mention the memory!  Anyway, I'll follow that path again and
> apologise for taking up your email space. (Just as well I subscribe
> on the gambas-user list and keep the emails!).
> Carl
>
> At 01:38 PM 29/11/2013, you wrote:
>> G'day:
>> I have installed gambas 3.5.1 from munix9 rpm running under openSUSE
>> 12.2 on a Virtual Machine (VMWare Player) on a Win 7 32 bit
>> desktop.  gambas seems fine, but there are no examples. ...(snip)
>> Regards Carl
>>
>> Carl S Nilsson
>> 137 Gordons Hill Road
>> Lindisfarne, Tas.
>> Australia 7015
>>
>>
>> --
>> Rapidly troubleshoot problems before they affect your business. Most IT
>> organizations don't have a clear picture of how application performance
>> affects their revenue. With AppDynamics, you get 100% visibility into your
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics 
>> Pro!
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> Carl S Nilsson
> 137 Gordons Hill Road
> Lindisfarne, Tas.
> Australia 7015
> --
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Restructuring the official Gambas examples

2013-04-28 Thread Matti
Tobi, I think this is a very good idea.

I remember when I started with Gambas: I looked at the examples, but I didn't
want to play games - I wanted to learn how to use a piece of code for this or
that purpose. I missed the very basics, sometimes I found something, but
sometimes not. It is surely all there, but buried in applications where a
beginner won't find it.

There are two classes of examples now:
- one that answers questions from the mailing list, like: how can I use an array
of controls, how can I use the Wizard, and so on, giving just a little
information. They are silly programs with no use, but the beginner can learn how
to use the language.
- the others show "look what all can be done with Gambas!", and are
ready-to-use, but a beginner will find them too complex to find anything useful
in them.

So, little step-by-step examples would be very useful.

Tobi, if I could write some little examples for that project, just tell me.

Matti

Am 28.04.2013 19:30, schrieb Tobias Boege:
> Hi folks,
> 
> I'm finally going to write my last A level exam tomorrow. Except the oral
> exam in June, I have ca. 5 months of spare time until matriculation. Among
> working here and there, I plan to do much work on my Gambas components and
> stuff and wanted to start by restructuring the Gambas examples next week.
> 
> Hans and I had the feeling that, them likely being the first code a newbie
> will seriously attempt to learn Gambas from (at least that's what I did six
> years ago), they are not too well-suited for that purpose. (Well, I was 12
> back then and my brain was still fresh :-))
> 
> Most of them are poorly commented, contain commented-out code for whatever
> features (or just dead code), violate the Gambas naming conventions or
> (this is a point Hans put forward which I not necessarily support) contain
> a bulk of code which just adds a feature but is not really related to
> teach how to use the particular component for which it is an example
> (particularly, he refers to MapView's zooming functionality).
> 
> The suggestion is *not* to make a heavily-commented tutorial out of each
> example or to remove extra features, but to split examples into niveau
> stages so that newbies know where they have to expect what extent of
> commentary or additional complexity and that our sort can be more sensible
> of how to write an example to be put upstream.
> 
> Look at the Games category. Nobody wants a game (example) to have source
> code where every detail of the used component or the Gambas language is
> explained. I can just tell from my Pong example that these kinds of programs
> tend to get quite complex and the most interesting thing is the game logic
> and the OOP implementation - for experienced programmers.
> 
> On the other side are things like in the Basic category which may benefit
> from one or two explanatory comments about what is going on behind the
> scenes and what is to expect from, e.g. attaching an object to an observer
> (this is actually done quite well in ArrayOfControls but with *some little*
> room for improvement).
> 
> Hans also suggested, again without me tremendously backing that idea, that
> Benoit lay down rules to which new examples must stick. I just want to
> spread the idea here, nevertheless since my intuition may be wrong at this
> point. Loose guidelines for how to classify a piece into the niveau levels
> would be my approach here.
> 
> All in all, my plan would, in the first instance, just be to introduce
> different niveau levels to the examples followed by the consequent change to
> the way in which the IDE presents examples by default. The topic categories
> will remain! - there's just an alternate view of them in niveau levels. On
> the way, I will try my best to remove the grievances from the source code
> and later look at this more closely. But only if Benoit gives his "OK" and
> you guys have also nothing serious to amend.
> 
> Regards,
> Tobi
> 
> --
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service 
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 

--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only Sa

[Gambas-user] openSUSE

2013-04-25 Thread Matti
I would like to edit the information in the wiki about installation of gambas in
openSUSE.
But my svn commit account isn't accepted here.
Could someone give me an account for the wiki, or do we have to wait until
Benoit is back again?

Regards
Matti

--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] all those bloody dependencies

2013-04-25 Thread Matti
Thank you very much, Sebastian and Ron!

It worked, now I got 3.4.1 running and think I can do the updates via svn.

For SUSE users:
Sebastian's repo did the download, but gambas didn't run. I had to deinstall
everything.
Better activate this repo in YaST:
http://download.opensuse.org/repositories/Education/openSUSE_12.3/
Here, gambas is included (very funny, as a link to this munix9 repo) - but it 
works!

Regards
Matti


Am 25.04.2013 16:29, schrieb Ron:
> If you want to build gambas3 from scratch, simply look which 
> packages/libs a known opensuse gambas3 rpm used to build itself.
> 
> wget 
> http://download.opensuse.org/repositories/home:/munix9:/gambas/openSUSE_12.3/src/gambas3-3.4.1-3.8.src.rpm
> apt-get install rpm2cpio
> rpm2cpio gambas3-3.4.1-3.8.src.rpm |cpio -idmv
> vi gambas3.spec
> 
> Regards,
> Ron_2nd.
>> Perhaps it's working repo, I don't know, I don't use OpenSUSE.
>> At least it's missing from Gambas doc pages.
>>
>> Perhaps someone who use OpenSUSE could update those pages concerning it.
>>
>> Jussi
>>
>>
>> On Thu, Apr 25, 2013 at 2:25 AM, Sebastian Kulesz  wrote:
>>
>>> What about this?
>>> 12.3:
>>>
>>> http://software.opensuse.org/ymp/home:munix9:gambas/openSUSE_12.3/gambas3.ymp?base=openSUSE%3A12.3&query=gambas3
>>>
>>> 12.2:
>>>
>>> http://software.opensuse.org/ymp/home:munix9:gambas/openSUSE_12.2/gambas3.ymp?base=openSUSE%3A12.2&query=gambas3
>>>
>>> Repository root:
>>> http://download.opensuse.org/repositories/home:/munix9:/gambas/
>>>
>>> I found this by just googling.
>>>
>>> If you find the documentation is outdated, why not help out by updating the
>>> article?
>>>
>>>
>>> On Wed, Apr 24, 2013 at 6:39 PM, Jussi Lahtinen >>> wrote:
>>>> Maybe some script that would collect dependency list from successful
>>>> compiling?
>>>> Or maybe people should volunteer and post updated dependencies?
>>>>
>>>> Or maybe someone could put up repository also for some other popular
>>>> distros...
>>>>
>>>> Jussi
>>>>
>>>>
>>>> On Thu, Apr 25, 2013 at 12:32 AM, Jussi Lahtinen
>>>> wrote:
>>>>
>>>>> I didn't mean anything specific since you didn't specify your OS.
>>>>> But I think I understand the problem now; documentation is not updated.
>>>>>
>>>>> I wish there would be general solution for this, but it seems that
>>> every
>>>>> distro uses it own naming conventions.
>>>>> So this is hard to make automatic. Perhaps someone else knows how to
>>>> solve
>>>>> this inconvenience?
>>>>>
>>>>> Jussi
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Apr 25, 2013 at 12:11 AM, Matti  wrote:
>>>>>
>>>>>> Hi Jussi,
>>>>>>
>>>>>> I've read that page, and I've been using Gambas for long years. Just a
>>>>>> new machine.
>>>>>>
>>>>>> Do you mean the page about openSUSE 10.2?
>>>>>> Well, we have openSUSE 12.3 in the meantime.
>>>>>>
>>>>>> I followed http://gambas.sourceforge.net/en/main.html
>>>>>> and there to the left: Compilation & Installation.
>>>>>> And after this done, I can't compile because of 17 errors.
>>>>>>
>>>>>>
>>>>>> Am 24.04.2013 22:39, schrieb Jussi Lahtinen:
>>>>>>> I don't understand what is the problem exactly.
>>>>>>>
>>>>>>> Here are the dependencies listed for different distros.
>>>>>>> http://gambasdoc.org/help/install?en&view&v3#t9
>>>>>>>
>>>>>>> It doesn't require two evenings. Just copy&paste the command, and it
>>>>>> takes
>>>>>>> few minutes.
>>>>>>>
>>>>>>>
>>>>>>> Jussi
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Apr 24, 2013 at 11:21 PM, Matti 
>>>> wrote:
>>>>>>>> I'm trying to get the Gambas svn version alive on a new machine.
>>>>>>>> Insta

Re: [Gambas-user] all those bloody dependencies

2013-04-24 Thread Matti
Hi Jussi,

I've read that page, and I've been using Gambas for long years. Just a new 
machine.

Do you mean the page about openSUSE 10.2?
Well, we have openSUSE 12.3 in the meantime.

I followed http://gambas.sourceforge.net/en/main.html
and there to the left: Compilation & Installation.
And after this done, I can't compile because of 17 errors.


Am 24.04.2013 22:39, schrieb Jussi Lahtinen:
> I don't understand what is the problem exactly.
> 
> Here are the dependencies listed for different distros.
> http://gambasdoc.org/help/install?en&view&v3#t9
> 
> It doesn't require two evenings. Just copy&paste the command, and it takes
> few minutes.
> 
> 
> Jussi
> 
> 
> 
> 
> 
> On Wed, Apr 24, 2013 at 11:21 PM, Matti  wrote:
> 
>> I'm trying to get the Gambas svn version alive on a new machine.
>> Installed everything that is written on the website as requirements (took
>> about
>> two evenings).
>> Now I'm getting WARNINGs that 17 components can't be compiled because of
>> missing
>> dependencies. This is really annoying!
>> I don't think that many people have the patience to continue now and work
>> through all the './configure -C' messages.
>> Maybe this could be a reason why Gambas isn't so popular?
>>
>> Is there no possibility to build packages of those dependencies for the
>> distros,
>> providing a button "Get all the dependencies for ..."?
>>
>> If I new how to, I would help here.
>>
>> Matti

--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] all those bloody dependencies

2013-04-24 Thread Matti
Olivier,

I know all this. I'm using gambas svn for about 6 years. I just wanted to make
it better...

Am 24.04.2013 22:29, schrieb Olivier Cruilles:
> Hello,
> 
> So if you want that we help you beginning without being so negative please.
> Can you give us all information about the distribution, message error from 
> the configure script and procedure that you used to compile Gambas ?
> 
> To compile Gambas v3 from svn:
> 
> cd /Path_to_source
> years.
> ./reconf -all
> ./configure -C
> make
> su -c "make install"
> 
> Cordialement,
> 
> Olivier Cruilles
> Mail: linu...@club-internet.fr
> 
> Le 24 avr. 2013 à 22:21, Matti  a écrit :
> 
>> I'm trying to get the Gambas svn version alive on a new machine.
>> Installed everything that is written on the website as requirements (took 
>> about
>> two evenings).
>> Now I'm getting WARNINGs that 17 components can't be compiled because of 
>> missing
>> dependencies. This is really annoying!
>> I don't think that many people have the patience to continue now and work
>> through all the './configure -C' messages.
>> Maybe this could be a reason why Gambas isn't so popular?
>>
>> Is there no possibility to build packages of those dependencies for the 
>> distros,
>> providing a button "Get all the dependencies for ..."?
>>
>> If I new how to, I would help here.
>>
>> Matti
>>

--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] all those bloody dependencies

2013-04-24 Thread Matti
I'm trying to get the Gambas svn version alive on a new machine.
Installed everything that is written on the website as requirements (took about
two evenings).
Now I'm getting WARNINGs that 17 components can't be compiled because of missing
dependencies. This is really annoying!
I don't think that many people have the patience to continue now and work
through all the './configure -C' messages.
Maybe this could be a reason why Gambas isn't so popular?

Is there no possibility to build packages of those dependencies for the distros,
providing a button "Get all the dependencies for ..."?

If I new how to, I would help here.

Matti

--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Doesn't "_Resize()" resize in a secondary Form ?

2013-01-09 Thread Matti
I don't understand:
If you resize FMain, why should the event Form1_Resize() being raised?

Maybe I'm completely wrong - could you provide a little example to know what 
you 
want to do?

Matti

Am 09.01.2013 17:46, schrieb Ru Vuott:
> Hello,
>
> my little project has (...besides the FMain form, obviously) a *secondary* 
> form: Form1.
>
> This Form1 has a "ScrollView".
>
> I 'ld like to change the dimensions of that "ScrollView" when I change 
> manually (with the mouse) the dimensions of main Form (FMain).
> So, in secondary class "Form1.class" I wrote this code:
>
> ***
>
> Public Sub Form1_Resize()
>
>ScrollView1.Resize(Form1.W - 10, Form1.H - 10)
>
> End
>
> ***
>
> ...but width and height of "ScrollView" do not change.
>
>
> If I insert a:  Print "resize"
> in that sub-routine, in console I don't see nothing: it seems that event is 
> not raised.
>
> Did I forget anything ?
>
> Regards
> vuottt

--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Strange behaviour of Frames

2012-12-20 Thread Matti

I was afraid that it's not reproducable.

- I have no special window manager options,
- The middle mouse button is disabled,
- No behaviour like that happens in any app, wanted or unwanted.

Here is a little project that explains this behaviour, compared to other 
containers (and all other controls).


Would be kind if other people would try this and give a feedback if this strange 
thing happens only on my Suse/KDE system.


Thanks
Matti


Am 20.12.2012 09:42, schrieb Benoît Minisini:


I can't reproduce that behaviour at all.

Do you have some special window manager option that allows you to resize
a window by clicking inside it with the middle mouse button?



Test_Frames-0.0.1.tar.gz
Description: GNU Zip compressed data
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Translator question

2012-12-18 Thread Matti
Can you put an empty space after one of the Ws?
"W" and "W " can be translated differently.


Am 18.12.2012 18:14, schrieb Willy Raets:
> Hi,
>
> I have an application (Gambas 2) where I use Internationalization.
> Application original is English and translations contain 7 other
> European languages.
>
> In the app on one form I use W to indicate West and on another form I
> use W to indicate Watts.
>
> In Bulgarian translation West (W) gets translated to this: 3
> Problem is that now Watt (W) gets translated too, but should remain W !!
>
> Is there a manner of getting around this?
> I mean can I indicate that one of the two W doesn't get translated (the
> watt in this case as it is an international symbol used in all European
> languages, so never needs to be translated, West on the other hand seems
> to differ from language to language)
>
> Thanks,
>
> Willy
>
>
>
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Setting all RadioButton's values to false

2012-12-17 Thread Matti
... or you just could add an 'other' RadioBox:

Pet:
- Dog
- Cat
- Parrot
- Turtle
- Other


Am 17.12.2012 22:21, schrieb Matti:
> Clever.
> But I don't understand: the RadioBoxes in a container are made for deciding
> between some defined options.
> In which situation you could decide to 'none'?
> E.g. send a document to a printer or export it as a .pdf or something,
> set the page layout to landscape or portrait,
> choose between currencies,
> set a timezone...
>
>

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Setting all RadioButton's values to false

2012-12-17 Thread Matti
Clever.
But I don't understand: the RadioBoxes in a container are made for deciding 
between some defined options.
In which situation you could decide to 'none'?
E.g. send a document to a printer or export it as a .pdf or something,
set the page layout to landscape or portrait,
choose between currencies,
set a timezone...


Am 17.12.2012 21:49, schrieb Richard Terry:
>
> You can in an emulated way, simply add an extra radiobutton in the
> series but make its visible property false and don't allow setting focus
> or tabbing to it.
>
> When you want to clear the 'visible ones' set the invisible one to True.
>
> I use it all the time throughout my program
>
> Regards
>
> richard
>
>> Don't think so. See
>> http://gambasdoc.org/help/comp/gb.qt/radiobutton?v2
>>
>> RadioButtons are for choosing only one in a group, but always choosing one.
>>
>> If you want to deselect all, you should use CheckBoxes.
>>
>>
>> Am 17.12.2012 21:23, schrieb M. Cs.:
>>
>>> Is there a possibility to set all the RadioButton's values to false?
>>>
>>> E.G:
>>> RadioButton1.Value = False
>>> RadioButton2.Value = False
>>> RadioButton3.Value = False
>>> RadioButton4.Value = False
>>> RadioButton5.Value = False
>>> RadioButton6.Value = False
>>>
>>> Will still leave the last clicked RadioButton's value True.
>>>
>>> Thanks!
>>>
>>> Csaba
>>>
>>
>> --
>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>> Remotely access PCs and mobile devices and provide instant support
>> Improve your efficiency, and focus on delivering more value-add services
>> Discover what IT Professionals Know. Rescue delivers
>> http://p.sf.net/sfu/logmein_12329d2d
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
>
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Setting all RadioButton's values to false

2012-12-17 Thread Matti
Don't think so. See
http://gambasdoc.org/help/comp/gb.qt/radiobutton?v2

RadioButtons are for choosing only one in a group, but always choosing one.

If you want to deselect all, you should use CheckBoxes.


Am 17.12.2012 21:23, schrieb M. Cs.:
> Is there a possibility to set all the RadioButton's values to false?
>
> E.G:
> RadioButton1.Value = False
> RadioButton2.Value = False
> RadioButton3.Value = False
> RadioButton4.Value = False
> RadioButton5.Value = False
> RadioButton6.Value = False
>
> Will still leave the last clicked RadioButton's value True.
>
> Thanks!
>
> Csaba

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Strange behaviour of Frames

2012-12-17 Thread Matti
Here is a very strange thing in the Form editor, happening only with Frames (as 
it seems to me now):

The form has the focus.

a) I click on a Frame, hold the mouse button down and move the mouse: works as 
expected, the Frame is being moved.

b) I click on a Frame to give it the focus, then click again, hold the mouse 
button down and move the mouse: the Gambas window gets the focus, gets resized 
(the middle window button), and I move the Gambas window! Very funny.

Always reproducable.

Regards
Matti

[System]
OperatingSystem=Linux
Kernel=3.4.11-2.16-desktop
Architecture=i686
Memory=3052876 kB
DistributionVendor=SuSE
DistributionRelease=openSUSE 12.2 (i586)
VERSION = 12.2
CODENAME = Mantis
Desktop=KDE4
Language=de_DE.UTF-8

[Gambas 3]
Version=3.3.90   rev. 5438
Path=/usr/bin/gbx3

[Libraries]
Qt4=libQtCore.so.4.8.1
Poppler=libpoppler.so.27.0.0
GStreamer=libgstreamer-0.10.so.0.30.0
GTK+=libgtk-x11-2.0.so.0.2400.10
SDL=libSDL-1.2.so.0.11.4


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] FTranslate / btnNext works strange - correction

2012-12-15 Thread Matti
No. when opening a project translation, the cursor still jumps to some 
untranslated or translated string, I can see no pattern.

Am 14.12.2012 02:49, schrieb Benoît Minisini:
> Le 07/12/2012 21:53, Matti a écrit :
>> When I open a project translation, the cursor jumps at random to some
>> not-translated string, not the first one.
>> Same when I use btnNext: mostly not the next one is shown, but the last one.
>> It gets better the more % are translated, but it's irritating.
>> btnPrevious seems to work correctly.
>> Matti
>>
>
> It should be fixed in revision #5435.
>
> Regards,
>

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] FTranslate / btnNext works strange

2012-12-15 Thread Matti
It is better now, btnNext works ok.
But when opening a project translation, the cursor now jumps to the last 
untranslated string.
This is no real bug (with btnNext you get to the first one), but not perfect.
Matti

Am 14.12.2012 02:49, schrieb Benoît Minisini:
> Le 07/12/2012 21:53, Matti a écrit :
>> When I open a project translation, the cursor jumps at random to some
>> not-translated string, not the first one.
>> Same when I use btnNext: mostly not the next one is shown, but the last one.
>> It gets better the more % are translated, but it's irritating.
>> btnPrevious seems to work correctly.
>> Matti
>>
>
> It should be fixed in revision #5435.
>
> Regards,
>

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Sourceforge upgrade

2012-12-10 Thread Matti
Thank you so much. The import has worked.
Would have been boring to do all those translations again...
Matti

Am 09.12.2012 19:52, schrieb Sebastian Kulesz:
>
> I have a backup of the old repository. If you want, i can import your
> commit to the new repository, then you can just do a fresh checkout.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] IMPORTANT! Sourceforge upgrade

2012-12-09 Thread Matti
Whow! That would be great. Let's try!
M.

Am 09.12.2012 19:52, schrieb Sebastian Kulesz:
> On Sun, Dec 9, 2012 at 3:46 PM, Matti  wrote:
>
> I have a backup of the old repository. If you want, i can import your
> commit to the new repository, then you can just do a fresh checkout.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] IMPORTANT! Sourceforge upgrade

2012-12-09 Thread Matti
But then all my recent translations (that have been sent to theo old URL) would 
be lost.

Would it be possible to save all those *.po and *.mo files somewhere, do the 
checkout from scatch, copy them to the new trunk directory and do a commit 
again?

M.

Am 09.12.2012 19:37, schrieb Benoît Minisini:
> Le 09/12/2012 19:17, Matti a écrit :
>> I tried both commands, but I still get the message:
>>   //gambas3/5421/trunk' is already a working copy for a different URL
>>
>> svn checkout works, but the old URL isn't changed.
>> 'svn update' and 'svn info' still point to the old URL.
>>
>> Does somebody know how to tell svn to save the new URL?
>>
>> Matti
>>
>
> Remove the old /trunk completely and do a checkout from scratch with the
> new url.
>
> Regards,
>

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] IMPORTANT! Sourceforge upgrade

2012-12-09 Thread Matti
I tried both commands, but I still get the message:
//gambas3/5421/trunk' is already a working copy for a different URL

svn checkout works, but the old URL isn't changed.
'svn update' and 'svn info' still point to the old URL.

Does somebody know how to tell svn to save the new URL?

Matti

Am 08.12.2012 18:04, schrieb Laurent Carlier:
> Le samedi 8 décembre 2012 02:30:26 Benoît Minisini a écrit :
>>
>> The information is on https://sourceforge.net/p/gambas/code/
>>
>> For a read-only access:
>>
>> $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk
>>
>> For a read-write access: (I don't know why there is a difference!)
>>
>> $ svn checkout --username=
>> svn+ssh://gam...@svn.code.sf.net/p/gambas/code/gambas/trunk
>>
>
> The proper URL seem to be svn checkout --username=
> svn+ssh://@svn.code.sf.net/p/gambas/code/gambas/trunk
>
> For migrating from the old repo, you can try (not tested) the command svn
> relocate like this:
>
> svn relocate --username=
> svn+ssh://@svn.code.sf.net/p/gambas/code/gambas/trunk

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] FTranslate / btnNext works strange

2012-12-07 Thread Matti
When I open a project translation, the cursor jumps at random to some 
not-translated string, not the first one.
Same when I use btnNext: mostly not the next one is shown, but the last one.
It gets better the more % are translated, but it's irritating.
btnPrevious seems to work correctly.
Matti

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb.jit can't be compiled

2012-11-26 Thread Matti
Ah, thanks, didn't know that.

gb.jit obviously wants dynamic libraries.
In /trunk/gb.jit/config.log I found:
configure:16852: checking for gb.jit libraries
configure:16952: result: no
configure:16958: WARNING: Unable to find file: libLLVM-3.1.so
configure:17008: WARNING: gb.jit is disabled

What to do now?


Am 26.11.2012 20:39, schrieb Jussi Lahtinen:
>> So, there a libLLVM really seems to be missing.
>>
>
> Those libLLVM*.a files are the libraries.
> *.a means static library, *.so means dynamic library.
>
>
> Jussi

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb.jit can't be compiled

2012-11-26 Thread Matti
Here (openSuse 12.2 i586) I find:
- lots of llvm* files in usr/bin
- lots of libLLVM*.a files in usr/lib (only .a files!)
- directories usr/include/llvm and usr/include/llvm-c
- directory usr/share/qt4/mkspecs/linux-llvm

So, there a libLLVM really seems to be missing.

Do you need more info?
Matti


Am 26.11.2012 01:13, schrieb Emil Lenngren:
> It's a pity that almost all linux distributions put the llvm libs in
> different places. Also, some distributions use the static library, and some
> of them use a dynamic library.
>
> Can you see where your package manager has installed the llvm files?
>
> /Emil
>
> 2012/11/25 Matti 
>
>> Didn't care about this component for a while.
>> Now I installed - following the wiki - llvm 3.1-2.3.1 and llvm-devel
>> 3.1-2.3.1
>>
>> 'make' now complains about a missing 'libLLVM-3.1' that can't be found in
>> my
>> (Suse) repos. The informations in the web are a bit confusing.
>> Anybody knows where to download the correct libLLVM for Suse?
>>
>> Thanks
>> Matti

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.jit can't be compiled

2012-11-25 Thread Matti
Didn't care about this component for a while.
Now I installed - following the wiki - llvm 3.1-2.3.1 and llvm-devel 3.1-2.3.1

'make' now complains about a missing 'libLLVM-3.1' that can't be found in my 
(Suse) repos. The informations in the web are a bit confusing.
Anybody knows where to download the correct libLLVM for Suse?

Thanks
Matti

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] rev. 5371: gb.map can't be compiled

2012-11-25 Thread Matti
I get the following complaints:

Compiling gb.map...
Map.class:12: error: Unknown identifier: MapPoint

Compiling Control/Maps/...
gbc: error: Component not found: gb.map

||
|| Unable to compile gb.map
||

Are there any dependencies needed?
Matti

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Issue 361 in gambas: gambas3 r5367 doesn't compile on Ubuntu 10.04LTS/x86

2012-11-25 Thread Matti
Compiles and runs here without problems.

[System]
OperatingSystem=Linux
Kernel=3.4.11-2.16-desktop
Architecture=i686
Memory=3052876 kB
DistributionVendor=SuSE
DistributionRelease=openSUSE 12.2 (i586)
VERSION = 12.2
CODENAME = Mantis
Desktop=KDE4
Language=de_DE.UTF-8

[Gambas 3]
Version=3.3.90
Path=/usr/bin/gbx3

[Libraries]
Qt4=libQtCore.so.4.8.1
Poppler=libpoppler.so.27.0.0
GStreamer=libgstreamer-0.10.so.0.30.0
GTK+=libgtk-x11-2.0.so.0.2400.10
SDL=libSDL-1.2.so.0.11.4




Am 25.11.2012 17:07, schrieb gam...@googlecode.com:
> Status: New
> Owner: 
> Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any
> Desktop-Any GUI-Any
>
> New issue 361 by uale...@gmail.com: gambas3 r5367 doesn't compile on Ubuntu
> 10.04LTS/x86
> http://code.google.com/p/gambas/issues/detail?id=361
>
> 1) Describe the problem.
> gambas3 r5367 doesn't compile anymore on Ubuntu 10.04LTS. I get the
> following make error:
>
> cpaint_impl.cpp: In function ‘void Invert(GB_PAINT*, int, int*)’:
> cpaint_impl.cpp:443: error: ‘CAIRO_OPERATOR_DIFFERENCE’ was not declared in
> this scope
> cpaint_impl.cpp:447: error: ‘CAIRO_OPERATOR_DIFFERENCE’ was not declared in
> this scope
> make[5]: *** [gb_gtk_la-cpaint_impl.lo] Error 1
> make[5]: Leaving directory `/usr/src/gambas3-r5367/gb.gtk/src'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/usr/src/gambas3-r5367/gb.gtk/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/src/gambas3-r5367/gb.gtk'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/usr/src/gambas3-r5367/gb.gtk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/gambas3-r5367'
> make: *** [all] Error 2
>
>
> 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):
>
> Version: TRUNK
> Revision: r5367 (if you use a development version)
> Operating system: Linux
> Distribution: LUbuntu 10.04LTS
> Architecture: x86
> GUI component: QT4
> Desktop used: LXDE
>
> 3) Provide a little project that reproduces the bug or the crash.
> reconf, configure and make output attached
>
> 4) If your project needs a database, try to provide it, or part of it.
>
> 5) Explain clearly how to reproduce the bug or the crash.
>
> 6) By doing that carefully, you have done 50% of the bug fix job!
>
> IMPORTANT NOTE: if you encounter several different problems or bugs, (for
> example, a bug in your project, and an interpreter crash while debugging
> it), please create distinct issues!
>
>
> Attachments:
>   reconf.txt  14.5 KB
>   configure.txt  216 KB
>   make.txt  36.3 KB
>
> --
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb.map

2012-11-22 Thread Matti
That's too bad. Now I'll have to write an App for the Garmin device - the only 
thing I'm using Windows for in the Out-of-Office-World! :-D


Am 22.11.2012 00:27, schrieb Fabien Bodard:
> This is a new component : gb.map
>
> actually it only allow to manage tiled maps
>
> MapViewer1.Map.AddTile("OpenStreet", "http://{s}.
> tile.openstreetmap.org/{z}/{x}/{y}.png", Null, "os")
>
>
> in one line of code you have a full map.

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] svn error?

2012-11-15 Thread Matti
I've just committed a translation update, and 'svn commit' was done without 
asking for username/password. Something wrong here?
Matti

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Help Browser font

2012-11-15 Thread Matti
That's funny. On my machine the help browser has no extra font, it uses the 
standard Gambas font that is defined in the settings dialog, section 
'interface'.
So your Gambas should look ugly all over... :-)

The only way I can think of to use a different font is (only if you compile 
from 
svn):
Open .../trunk/app/src/gambas3
In the project, open Sources/Help/FHelpBrowser
Change the font of tvwClasses and webHelp
Then compile

Never tried, it's just an idea...

Regards
Matti


Am 15.11.2012 11:00, schrieb Rolf-Werner Eilert:
> Is it possible to change the font used in the help browser?
>
> On my system, the font used looks a bit ugly.
>
> Regards
>
> Rolf

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Translation question

2012-11-14 Thread Matti
While updating the German translation, I have no idea about
"Class xy is badly overridden"
"Overriding an already inherited class is forbidden", etc.

Could someone help me to understand what we are talking about there?
Or, even better, could one of the Germans here tell me how to translate that?

Thanks, Matti

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Example 'Painting 3.2.0' doesn't run

2012-11-12 Thread Matti
Yes and No.

Yes: if if I open this example in the trunk directory and remove that entry, it 
runs.

No: Any "normal" user that open this example in "examples" has no chance to 
remove this option, because it is write protected.

So, this entry should be removed. What is it good for, anyway?


Am 12.11.2012 21:32, schrieb Benoît Minisini:
> Le 12/11/2012 21:04, Matti a écrit :
>> I get the error that the class 'Form' couldn't be loaded, because:
>>   gb.gui: unable to load 'gb.gtk' component
>>
>> Yes, I don't have GTK but QT (rev. 5315), but this example uses the gb.gui
>> component that should switch to the used desktop. And I'm sure it has been
>> working before.
>> ???
>>
>
> Go to the environment tab of the project property dialog and remove the
> "GB_GUI=gb.gtk" environment variable.
>

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] IDE Toolbox: a 'left' arrow is missing

2012-11-12 Thread Matti
Indeed! Once again something I would never have tried...


Am 12.11.2012 20:59, schrieb Benoît Minisini:

> You can use the mouse wheel to scroll the tabs.

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Example 'Painting 3.2.0' doesn't run

2012-11-12 Thread Matti
I get the error that the class 'Form' couldn't be loaded, because:
gb.gui: unable to load 'gb.gtk' component

Yes, I don't have GTK but QT (rev. 5315), but this example uses the gb.gui 
component that should switch to the used desktop. And I'm sure it has been 
working before.
???

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] IDE Toolbox: a 'left' arrow is missing

2012-11-12 Thread Matti
If the 'properties' window has a width smaller than all the tabs of the toolbox, 
there is a 'right' arrow to display the 'Container' and 'Special' tab.


But once I'm there to the right, there is no way to get back to the left tabs. 
There is no 'left' arrow, and even if I drag the properties window to a large 
size (see screenshot), the tabs stay at the left side, and I can't go to the 
'Form' and 'View' tab anymore. Only a restart of gambas helps.


rev. 5315, qt
<>--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] rev. 5314 compiles, but doesn't run

2012-11-11 Thread Matti
Yes, update 5314 -> 5315 works now as usual.


Am 11.11.2012 20:46, schrieb Benoît Minisini:
> Le 11/11/2012 20:15, Matti a écrit :
>> ok, after running 'make clean' and deleting everything related to gambas, it
>> works now again.
>>
>>
>> Am 11.11.2012 19:36, schrieb Matti:
>>> Compilation without problems.
>>> Just the usual
>>> || THESE COMPONENTS ARE DISABLED:
>>> || - gb.db.postgresql
>>> || - gb.desktop.gnome
>>> || - gb.gtk
>>> || - gb.gtk.opengl
>>> || - gb.jit
>>>
>>> The only unusual thing I can see is
>>>   CXX  gb_qt4_la-systemtrayicon.lo
>>> systemtrayicon.cpp: In member function 'void SystemTrayIcon::addToTray()':
>>> systemtrayicon.cpp:193:68: warning: narrowing conversion of 'wid' from 
>>> 'Window
>>> {aka long unsigned int}' to 'long int' inside { } is ill-formed in C++11
>>> [-Wnarrowing]
>>>
>>> But when I try to start Gambas, I get
>>>
>>> This application has raised an unexpected error and must abort.
>>> [4] Not enough arguments.
>>> >>Action._get.229
>>>
>>> Matti
>>>
>
> Maybe revision #5315 works...
>

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] rev. 5314 compiles, but doesn't run

2012-11-11 Thread Matti
ok, after running 'make clean' and deleting everything related to gambas, it 
works now again.


Am 11.11.2012 19:36, schrieb Matti:
> Compilation without problems.
> Just the usual
> || THESE COMPONENTS ARE DISABLED:
> || - gb.db.postgresql
> || - gb.desktop.gnome
> || - gb.gtk
> || - gb.gtk.opengl
> || - gb.jit
>
> The only unusual thing I can see is
> CXX  gb_qt4_la-systemtrayicon.lo
> systemtrayicon.cpp: In member function 'void SystemTrayIcon::addToTray()':
> systemtrayicon.cpp:193:68: warning: narrowing conversion of 'wid' from 'Window
> {aka long unsigned int}' to 'long int' inside { } is ill-formed in C++11
> [-Wnarrowing]
>
> But when I try to start Gambas, I get
>
> This application has raised an unexpected error and must abort.
> [4] Not enough arguments.
>   >>Action._get.229
>
> Matti
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] rev. 5314 compiles, but doesn't run

2012-11-11 Thread Matti
Compilation without problems.
Just the usual
|| THESE COMPONENTS ARE DISABLED:
|| - gb.db.postgresql
|| - gb.desktop.gnome
|| - gb.gtk
|| - gb.gtk.opengl
|| - gb.jit

The only unusual thing I can see is
   CXX  gb_qt4_la-systemtrayicon.lo
systemtrayicon.cpp: In member function 'void SystemTrayIcon::addToTray()':
systemtrayicon.cpp:193:68: warning: narrowing conversion of 'wid' from 'Window 
{aka long unsigned int}' to 'long int' inside { } is ill-formed in C++11 
[-Wnarrowing]

But when I try to start Gambas, I get

This application has raised an unexpected error and must abort.
[4] Not enough arguments.
 >>Action._get.229

Matti

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb.image: making things easier causes new wishes

2012-10-15 Thread Matti
Indeed, this works.
But I would NEVER have the idea to use that syntax!


Am 15.10.2012 21:16, schrieb Benoît Minisini:
> Le 15/10/2012 21:14, Matti a écrit :
>> The new Image.RotateRight (works now) and Image.RotateLeft methods are great,
>> because they are much easier to use than dealing with a copy of an image and
>> radiants of degrees.
>>
>> So, why not add the third 90° option, something like Image.FlipOver or
>> Image.UpsideDown for a 180° turn?
>>
>> Would be great, instead of writing 'hImg = hImg.Rotate(Rad(180))'
>>
>> Matti
>>
>
> hImg = hImg.RotateLeft().RotateLeft() ?
>

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.image: making things easier causes new wishes

2012-10-15 Thread Matti
The new Image.RotateRight (works now) and Image.RotateLeft methods are great, 
because they are much easier to use than dealing with a copy of an image and 
radiants of degrees.

So, why not add the third 90° option, something like Image.FlipOver or 
Image.UpsideDown for a 180° turn?

Would be great, instead of writing 'hImg = hImg.Rotate(Rad(180))'

Matti

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Bug: Image.RotateRight rotates left

2012-10-11 Thread Matti
Great.

But with rev 5233 I get a 'make' error:
make[5]: Entering directory
`/Platte2/Downloads/gambas3/5233/trunk/gb.qt4/src'
   CC   gb_qt4_la-x11.lo
   CXX  gb_qt4_la-main_moc.lo
main_moc.cpp:14:2: error: #error "This file was generated using the moc from
4.7.4. It"
main_moc.cpp:15:2: error: #error "cannot be used with the include files from
this version of Qt."
main_moc.cpp:16:2: error: #error "(The moc has changed too much.)"
make[5]: *** [gb_qt4_la-main_moc.lo] Fehler 1

No idea what this means.
Help?

Thanks
Matti

Am 11.10.2012 22:39, schrieb Benoît Minisini:
> Le 11/10/2012 22:28, Matti a écrit :
>> gb3, rev 5196, qt
>>
>> Image.RotateLeft and Image.RotateRight is a nice idea, you don't have to
>> care about Rad(-90) etc anymore.
>>
>> But Left and Right produce the same: they always rotate left.
>>
>> A tiny demo is attached.
>>
>> Matti
>>
>
> Fixed in revision #5233.
>
> Regards,
>

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Bug: Image.RotateRight rotates left

2012-10-11 Thread Matti

gb3, rev 5196, qt

Image.RotateLeft and Image.RotateRight is a nice idea, you don't have to care 
about Rad(-90) etc anymore.


But Left and Right produce the same: they always rotate left.

A tiny demo is attached.

Matti


Rotate-0.0.1.tar.gz
Description: GNU Zip compressed data
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb.net.pop3?

2012-09-28 Thread Matti
ok, I found it: gmime-2.6 is missing (or gmime-2.4, as in another message).
But this should be mentioned in the docs: requirements.


Am 28.09.2012 21:33, schrieb Sebastian Kulesz:
> On Fri, Sep 28, 2012 at 4:29 PM, Matti  wrote:
>> In my last update (5196) I got the message
>>
>> ||
>> || Unable to compile gb.net.pop3
>> ||
>>
>> with
>> Compiling gb.net.pop3...
>> Component not found: gb.mime
>>
>> What's that?
>> Nothing to find in the docs.
>>

>
> Just read the error message, gb.net.pop3 depends on gb.mime, you need
> to compile it first.
>

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.net.pop3?

2012-09-28 Thread Matti
In my last update (5196) I got the message

||
|| Unable to compile gb.net.pop3
||

with
Compiling gb.net.pop3...
Component not found: gb.mime

What's that?
Nothing to find in the docs.

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Installation of Gambas3 in Suse12.2

2012-09-27 Thread Matti
Hi Carl,

I guess that the packager forgot a requirement. See
http://gambasdoc.org/help/install?v3

So, open YaST2, search for "libcurl" and install libcurl4 and libcurl-devel.

Let's see if this helps.

Matti


Am 27.09.2012 06:21, schrieb Carl Nilsson:
> Dear Moderator:
> I have installed Suse 12.2 mainly because I want to run gambas on
> Linux as an alternative to VB6 on Win2K in a modest embedded
> system.  I'm a newbie at Linux (and gambas) but used zypper to
> (apparently successfully) install gambas3 from
> /munix9:/gambas/openSUSE_12.2/.  However I got the message "could not
> install gambas3-examples gambas3-gb-net-curl" because "nothing
> provides gambas3-net = 3.2.1 needed by gambas3-examples
> gambas3-gb-net-curl-3.21-6-21.i586"   Now, as a newbie I'm pretty
> interested in examples in general, so Question 1 is whether or not I
> should concern myself about that and Question 2 is how would I go
> about remedying that omission.  I take it gambas3-net = 3.2.1 is some
> sort of dependency - how widely needed I am unsure.  A quick google
> search suggests that gambas3-gb-net-curl (or at least one version) is
> a component package for "net-curl" - is part of a Fedora package for
> X86 64 machines.  I am 32 bit (i586) at this stage, so maybe I can
> ignore the whole bit - and I don't need my gambas project to work
> on/with the net or with URLs, which I gather is what cURL refers
> to.  Helpful comments?
>
> Carl S Nilsson
> 137 Gordons Hill Road
> Lindisfarne, Tas.
> Australia 7015
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://ad.doubleclick.net/clk;258768047;13503038;j?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Inputbox

2012-08-09 Thread Matti
Better open a new thread about gb3 and Mint and Ubuntu, because I don't know 
anything about that!

Am 09.08.2012 20:20, schrieb Cogier:
>
> Thanks again Matti-4.
>
> I took your advice regarding Gambas3 and I love the new collapsible SUBs and
> the way that changing a button name automatically changes the code.
>
> BUT
>
> I have installed it on 2 machines one with Mint 13 and the other with Ubuntu
> 12.04 and in both cases the program will run but clicking on the "Buttons"
> has no effect.
>
> I installed it from the instructions on the Gambas site adding the PPA below
> and installing with APT-GET.
> http://ppa.launchpad.net/nemh/gambas3/ubuntu
>
> Am I doing something wrong?
>
>
> Matti-4 wrote:
>>
>> Hmm. I don't have gb2 on my machine anymore, so I can't tell why it isn't
>> centered.
>> Btw: you should update to gb3, it's much better!
>>
>> Example code for a ShowModal window:
>>
>> Create a form FMain with just two buttons (btnCancel and btnInput).
>> Then create a form FInput with the Text "What's your name?", a TextBox
>> (TextBox1) and two buttons (btnCancel and btnOK).
>>
>> The FMain code is:
>>
>> Public Sub Form_Open()
>> Me.Center
>> End
>>
>> Public Sub btnCancel_Click()
>> Me.Close
>> End
>>
>> Public Sub btnInput_Click()
>> FInput.ShowModal
>> If Me.Tag = "" Then
>> Print "User has cancelled."
>>   Else
>> Print "The name is " & Me.Tag & "."
>> Endif
>> End
>>
>> The FInput code is:
>>
>> Public Sub btnCancel_Click()
>> FMain.Tag = ""
>> Me.Close
>> End
>>
>> Public Sub btnOK_Click()
>> FMain.Tag = TextBox1.Text
>> Me.Close
>> End
>>
>> Easy, isn't it?
>>
>>
>>
>> Am 07.08.2012 15:34, schrieb Cogier:
>>>
>>> Thanks for the reply Matti-4.
>>>
>>> I am using Gambas 2.23, Ubuntu 12.04, Gnome 3.
>>>
>>> Can you give me any example code of the 'xyz.ShowModal'?
>>>
>>> Thanks for any help.
>>>
>>>
>>> Matti-4 wrote:
>>>>
>>>> What is your Gambas version and your environment?
>>>> Here (Gambas 3, OpenSuse 12.1, KDE), the InputBox is correctly centered.
>>>>
>>>> But as a workaround, you can easily create a tiny form for the input and
>>>> open it
>>>> with 'xyz.ShowModal'. That is surely centered, and it takes about the
>>>> same
>>>> amount of code.
>>>>
>>>>
>>>> Am 06.08.2012 10:15, schrieb Cogier:
>>>>>
>>>>> Is there a way to centre the InputBox on the screen as I always see it
>>>>> in
>>>>> the
>>>>> top left hand corner and it is missed by the user?
>>>>>
>>
>>
>> --
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
>

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Inputbox

2012-08-07 Thread Matti
Hmm. I don't have gb2 on my machine anymore, so I can't tell why it isn't 
centered.
Btw: you should update to gb3, it's much better!

Example code for a ShowModal window:

Create a form FMain with just two buttons (btnCancel and btnInput).
Then create a form FInput with the Text "What's your name?", a TextBox 
(TextBox1) and two buttons (btnCancel and btnOK).

The FMain code is:

Public Sub Form_Open()
   Me.Center
End

Public Sub btnCancel_Click()
   Me.Close
End

Public Sub btnInput_Click()
   FInput.ShowModal
   If Me.Tag = "" Then
   Print "User has cancelled."
 Else
   Print "The name is " & Me.Tag & "."
   Endif
End

The FInput code is:

Public Sub btnCancel_Click()
   FMain.Tag = ""
   Me.Close
End

Public Sub btnOK_Click()
   FMain.Tag = TextBox1.Text
   Me.Close
End

Easy, isn't it?



Am 07.08.2012 15:34, schrieb Cogier:
>
> Thanks for the reply Matti-4.
>
> I am using Gambas 2.23, Ubuntu 12.04, Gnome 3.
>
> Can you give me any example code of the 'xyz.ShowModal'?
>
> Thanks for any help.
>
>
> Matti-4 wrote:
>>
>> What is your Gambas version and your environment?
>> Here (Gambas 3, OpenSuse 12.1, KDE), the InputBox is correctly centered.
>>
>> But as a workaround, you can easily create a tiny form for the input and
>> open it
>> with 'xyz.ShowModal'. That is surely centered, and it takes about the same
>> amount of code.
>>
>>
>> Am 06.08.2012 10:15, schrieb Cogier:
>>>
>>> Is there a way to centre the InputBox on the screen as I always see it in
>>> the
>>> top left hand corner and it is missed by the user?
>>>


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Inputbox

2012-08-06 Thread Matti
What is your Gambas version and your environment?
Here (Gambas 3, OpenSuse 12.1, KDE), the InputBox is correctly centered.

But as a workaround, you can easily create a tiny form for the input and open 
it 
with 'xyz.ShowModal'. That is surely centered, and it takes about the same 
amount of code.


Am 06.08.2012 10:15, schrieb Cogier:
>
> Is there a way to centre the InputBox on the screen as I always see it in the
> top left hand corner and it is missed by the user?
>

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TAB and TextArea

2012-08-01 Thread Matti
I agree.
It was just the "oops"-feeling when you move through a form with TAB and don't 
get further. But then you have the mouse.
I think, indentation is more important - leave it this way.

Am 01.08.2012 22:45, schrieb Tobias Boege:
> On Wed, 01 Aug 2012, Matti wrote:
>> Recently, there was a question about the TAB Focus. Testing this, I saw:
>> In every control the TAB key is used to move the cursor to the next control.
>> But TextArea behaves different: the TAB key inserts spaces into the control 
>> and
>> doesn't move the cursor.
>> I'm not sure if this is wanted behaviour or not.
>> Should the TAB key switch to the next control, should it insert spaces, or
>> should there be an option?
>> Regards Matti
>>
>
> I'm sure, nobody would like to miss the ability to insert tabs/spaces using
> the Tab key. It is not default in Gambas to indent using Tabs (actually, you
> can indent with the Tab key in the source code editor but it is filled with
> spaces, right?) but think of other Editors/programming languages where the
> Tab is a fundamental character for indentation.
> Essentially: yes, I'm sure it is intentional.
>
> However, if you feel to not allow the Tab key to insert tabs, you have sort
> of an option to do so:
>
> Public Sub TextArea1_KeyPress()
>If Key.Code = Key["Tab"] Then
>  ' Move focus to next control somehow
>  Stop Event ' Stop insertion of the Tab character
>Endif
> End
>
> I don't know if this code works and how to move the focus to the next
> controls (Is there any representation of this Hierarchy tab from the form
> editor somewhere at runtime?) but you got the idea, hopefully.
>
> This could be turned into an property-like option for the TextArea and
> related controls but it's not me to decide that.
>
> Regards,
> Tobi

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] TAB and TextArea

2012-08-01 Thread Matti
Recently, there was a question about the TAB Focus. Testing this, I saw:
In every control the TAB key is used to move the cursor to the next control.
But TextArea behaves different: the TAB key inserts spaces into the control and 
doesn't move the cursor.
I'm not sure if this is wanted behaviour or not.
Should the TAB key switch to the next control, should it insert spaces, or 
should there be an option?
Regards Matti

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


  1   2   3   4   >