Re: [Gambas-user] String[] in Sub, what is going wrong

2016-04-27 Thread Daniel Lemke
I ran the code and I was able to populate fntexc with the array, but I
didn't see how you declared fntexc so I am unsure  what the difference is
between our implementations. For testing sake, I merely made fntexc a
public variable . If you were to provide more of the code, it would be a
lot easier to get a complete picture.

How are you declaring fntexc? If it is a locally scoped variable you will
need to either pass a reference to the sub or turn the sub into a function
to return data to fntexc.
On Apr 27, 2016 9:04 AM, "Rolf-Werner Eilert" 
wrote:

> This is the code:
>
> Public Sub setFontNameList(fontliste As String[])
> Dim i As Integer
>
>fntexc.Clear
>
>For i = 0 To fontliste.count - 1
>  fntexc.Add(fontliste[i])
>Next
>
> End
>
> It didn't run, so I set a Wait to the line fntexc.Clear. "fontliste[]"
> is delivered as it should, it has 3 items. But fontliste.Count is 0,
> fontliste.Max would be -1. So it is never copied.
>
> What is going wrong here???
>
> Regards
> Rolf
>
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Double Keyboard Input in Form

2016-03-19 Thread Daniel Lemke
I upgraded Gambas and now the problem is gone! :) Thanks Benoît, I
should have just done that first...

On 03/16/2016 05:46 PM, Benoît Minisini wrote:
> Le 17/03/2016 01:38, Daniel Lemke a écrit :
>> Hello all,
>>
>> I am using Gambas 3.5.4 that I downloaded from the Ubuntu repo to make a
>> contact sheet maker. I have some plain Jane text entries on my form that
>> are not working correctly. Whenever I type into any of the text entries,
>> it receives the input as if I had pressed the key twice in a row. I
>> don't have this problem anywhere else in my operating system, so I
>> assumed it was an issue involving Gambas itself. Does anyone know how I
>> can keep these fields from getting two characters instead of one?
>>
> It's a problem with gb.gtk and the GTK+ input methods.
>
> Please send your system information and your project. And do upgrade Gambas!
>


--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Double Keyboard Input in Form

2016-03-19 Thread Daniel Lemke
Hello all,

I am using Gambas 3.5.4 that I downloaded from the Ubuntu repo to make a
contact sheet maker. I have some plain Jane text entries on my form that
are not working correctly. Whenever I type into any of the text entries,
it receives the input as if I had pressed the key twice in a row. I
don't have this problem anywhere else in my operating system, so I
assumed it was an issue involving Gambas itself. Does anyone know how I
can keep these fields from getting two characters instead of one?

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user