No this assignment replace the internal list.
Le 21 sept. 2015 10:26, "Moviga Technologies" a écrit :
> Thank you! This works! What I do not understand is if .List is returning
> a copy, then even cbxProfile.List = [] should not really work?? Because
> you are still assigning the copy of the list
Thank you! This works! What I do not understand is if .List is returning
a copy, then even cbxProfile.List = [] should not really work?? Because
you are still assigning the copy of the list, and not the list itself...
--
Le Sun, 20 Sep 2015 21:01:21 +0200, Moviga Technologies
a écrit:
>
> Haha! Wow! I must have been to dizzy yesterday :) Sorry about that!
>
> But, then - why isn't this working:
>
> cbxProfile.Add(MGlobal.DEFAULTSTR) 'This works
> cbxProfile.List.Insert(MGlobal.Profiles) 'This adds nothing, even
Haha! Wow! I must have been to dizzy yesterday :) Sorry about that!
But, then - why isn't this working:
cbxProfile.Add(MGlobal.DEFAULTSTR) 'This works
cbxProfile.List.Insert(MGlobal.Profiles) 'This adds nothing, even though
the array contains entries.
The code is already in FConfig as you
I rechecked your project, and no FQuick.Init() is not called. However
FConfig.Init() is called twice in MMain.Init(). So I assume that is
supposed to be for FQuick.
After making this modification in your code I get "I Profiles: test" to
console.
Jussi
On Sun, Sep 20, 2015 at 12:11 PM, Moviga Te
I do not understand what you mean by "Still no". MMain.Init() is calling
FQuick.Init()
As for the conf files, you can just place an empty file file with a
*.conf extension in the dir, or use the GUI to create a new profile (the
pluss sign in FConf).
Still no. Also there isn't config for the test.
Jussi
On Sun, Sep 20, 2015 at 2:55 AM, Moviga Technologies
wrote:
>
>
> Ahh! Sorry! Try now!
>
>
>
> --
>
> ___
> Gambas-user
FQuick.Init() is never run. There is not any reference to it.
Jussi
On Sun, Sep 20, 2015 at 2:39 AM, Moviga Technologies
wrote:
>
>
> This is what I am working with
>
> --
>
> __
Can you provide way to reproduce this problem? Like runnable project and
config for it?
Jussi
On Sat, Sep 19, 2015 at 5:30 PM, Moviga Technologies
wrote:
> In MGlobal I have this:
>
>
>
>
> ✂✂✂✂✂
> Private $aProfil
Forgot to add that I have this as well in MGlobal :)
Property Read Profiles As String[]
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourcefor
In MGlobal I have this:
✂✂✂✂✂
Private $aProfiles As New String[]
For Each f In Dir(CONFIG_FOLDER, "*.conf", gb.File)
$aProfiles.Add(File.BaseName(f))
Debug "Found the profile: " & File.BaseName(f)
Debug $aProf
11 matches
Mail list logo