As I previously said, when I add a new row (by first clicking the New
button in my DataBrowser control) / change data displayed in my
DataBrowser control and then click the save button (in my DataBrowser
control), it comes up with a dialog box saying 'Connection not opened'
with OK button only
My DataBrowser control saved automatic, you can not press save.
10.02.2012, 16:44, John Rose john.aaron.r...@gmail.com:
As I previously said, when I add a new row (by first clicking the New
button in my DataBrowser control) / change data displayed in my
DataBrowser control and then click the
Comment #1 on issue 207 by john.aaron.r...@gmail.com: Event Save get error
at DataBrowser
http://code.google.com/p/gambas/issues/detail?id=207
When I try to Save after adding/changing rows , I get a dialog box
saying 'Connection not opened' with OK button only (and clicking OK does
not
First, what are you trying to do?
-- Original Message ---
From: Fabián Flores Vadell fabianfloresvad...@gmail.com
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Fri, 10 Feb 2012 16:39:12 -0300
Subject: [Gambas-user] Gambas bug?
Hi.
When I execute
2012/2/10 nando nand...@nothingsimple.com
First, what are you trying to do?--
I'm trying to find a design pattern that allows me to use the introspective
features of Gambas to avoid the boring work consisting in write (in a
class) the signatures of some methods that belong to one of its
Can't you just store the array in an Object, then each calls are
dispatched?
Dim o As Object
o = the_array
o.Add(whatever)
/Emil
2012/2/10 Fabián Flores Vadell fabianfloresvad...@gmail.com
2012/2/10 nando nand...@nothingsimple.com
First, what are you trying to do?--
I'm trying to find
Status: New
Owner:
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any
Desktop-Any GUI-Any
New issue 209 by emil.len...@gmail.com: Inheritance and translatable
constant strings does not work
http://code.google.com/p/gambas/issues/detail?id=209
1) Describe the problem.
You probably get the error because Count is a property and not a method.
There is a Object.GetProperty method you can use instead ;)
Print Object.GetProperty([John, Peter], Count)
/Emil
2012/2/10 Fabián Flores Vadell fabianfloresvad...@gmail.com
Hi.
When I execute this:
Print
2012/2/10 Emil Lenngren emil.lenng...@gmail.com
You probably get the error because Count is a property and not a method.
There is a Object.GetProperty method you can use instead ;)
Print Object.GetProperty([John, Peter], Count)
Thanks Emil.
It seems to me like the encapsulation is broken
You can check whether it is property or method.
Dim hCls As Class = Object.Class([John, Peter])
If hCls[Count].Kind = Class.Method Then
...
Jussi
2012/2/10 Fabián Flores Vadell fabianfloresvad...@gmail.com
2012/2/10 Emil Lenngren emil.lenng...@gmail.com
You probably get the error
Did the Object solution not solve your problem? It should work in all cases
when the name of the function/property is the same at all calls/property
readings.
If you use different symbol names each time, maybe you can use something
like this:
Try
Return Object.GetProperty(object, name)
Catch
2012/2/10 Jussi Lahtinen jussi.lahti...@gmail.com
You can check whether it is property or method.
Dim hCls As Class = Object.Class([John, Peter])
If hCls[Count].Kind = Class.Method Then
Yes, I figured out. Thanks Jussi
Le 06/02/2012 21:19, tobias a écrit :
hi,
Benoît Minisini wrote:
Le 04/02/2012 01:19, tobias a écrit :
On 04.02.2012 01:12, tobias wrote:
Hi,
I really need help. There's a lot of work with colors in Images and
Pictures in a project and between these classes. This is generally
speaking as
On Fri, 10 Feb 2012, Benoît Minisini wrote:
Le 06/02/2012 21:19, tobias a écrit :
hi,
Benoît Minisini wrote:
Le 04/02/2012 01:19, tobias a écrit :
On 04.02.2012 01:12, tobias wrote:
Hi,
I really need help. There's a lot of work with colors in Images and
Pictures in a project
2012/2/10 Emil Lenngren emil.lenng...@gmail.com
Did the Object solution not solve your problem? It should work in all cases
when the name of the function/property is the same at all calls/property
readings.
II want to write just one method that allow me to call whatever method I
could need
2012/2/10 Fabián Flores Vadell fabianfloresvad...@gmail.com
2012/2/10 Emil Lenngren emil.lenng...@gmail.com
Did the Object solution not solve your problem? It should work in all
cases
when the name of the function/property is the same at all calls/property
readings.
II want to write just
Can you give some examples how you mean?
What do you need wrappers for?
I don't think I understand fully what you mean, but it seems interesting :)
/Emil
2012/2/10 Fabián Flores Vadell fabianfloresvad...@gmail.com
2012/2/10 Fabián Flores Vadell fabianfloresvad...@gmail.com
2012/2/10 Emil
Le 05/02/2012 18:42, Wally a écrit :
talking about Gambas 3:
When i place my library to /usr/local/lib and run ldconfig it works and
my_gb3_project can find the lib and its functions.
When i put it into my_gb3_project folder the library can not be found.
Where to place the library ganbas3
2012/2/10 Emil Lenngren emil.lenng...@gmail.com
Can you give some examples how you mean?
What do you need wrappers for?
I don't think I understand fully what you mean, but it seems interesting :)
/Emil
I would like to show you an example, but I can't.
If I did, I would have to kill you.
So what you want is to extend the array class with some extra methods?
Just use
Inherits Person[]
in the PersonList class ;)
/Emil
2012/2/10 Fabián Flores Vadell fabianfloresvad...@gmail.com
2012/2/10 Emil Lenngren emil.lenng...@gmail.com
Can you give some examples how you mean?
What do
2012/2/10 Emil Lenngren emil.lenng...@gmail.com
So what you want is to extend the array class with some extra methods?
Just use
Inherits Person[]
in the PersonList class ;)
Did you read the code and comments?
Not at all. I don't want use inheritance because I won't all methods and
Ok, I understand your issue. But unfortunately, I don't know any good way
how to do it in Gambas.
In C++ there are private inheritance that solves the problem, but Gambas
only has public inheritance.
Maybe Benoit can find out some way how to inherit only some of the
symbols from a base class, if
2012/2/10 Emil Lenngren emil.lenng...@gmail.com
Ok, I understand your issue. But unfortunately, I don't know any good way
how to do it in Gambas.
Well, that's what it is solve this problem by a single method that make a
dinamic call.
In C++ there are private inheritance that solves the
On Friday, February 10, 2012 22:54:58 Benoît Minisini wrote:
Le 05/02/2012 18:42, Wally a écrit :
talking about Gambas 3:
When i place my library to /usr/local/lib and run ldconfig it works and
my_gb3_project can find the lib and its functions.
When i put it into my_gb3_project folder
On Sat, 2012-02-11 at 18:06 +1030, Bruce Bruen wrote:
On Fri, 2012-02-10 at 21:59 -0300, Fabián Flores Vadell wrote:
2012/2/10 Emil Lenngren emil.lenng...@gmail.com
etc
Interesting, I have a similar problem, perhaps the same but maybe
slightly different.
I have a base class that is
25 matches
Mail list logo