El Viernes, 26 de febrero, 2016 18:17:14, Matias De lellis
escribió:
Hi Fabien,
As an idea is good .. I found it very interesting..
I also thought do something similar at the form level, but this implementation
requires me to place all components that depend on a Firmata on the same
conta
Hi Tobi,
Sorry about the delay.
> OK, then another, more self-contained way. You have a class Firmata which is
> instantiable and you want to keep track of the instances, right? Then modify
> Firmata.class like so:
>
> Static Private $cObjects As New Collection
>
> Static Public Sub _get(Name A
This is a working example
2016-02-24 21:49 GMT+01:00 Fabien Bodard :
> You can use another way :
>
> Imagine a firmata that will be a container.
>
> all the children of this container will be connected to this connection.
>
> so you can work visually and children just needto search the
> connectio
You can use another way :
Imagine a firmata that will be a container.
all the children of this container will be connected to this connection.
so you can work visually and children just needto search the
connection in theire parent
2016-02-24 20:22 GMT+01:00 Tobias Boege :
> On Wed, 24 Feb 20
On Wed, 24 Feb 2016, Matias De lellis wrote:
> >It is a different>matter, though, if Firmata is a graphical control.
> >Graphical controls always
> >have a name property and you can use a Form's Controls property to search a
> >control by name like this:
> >
> > hMyFirmata = FMain.Controls["Firma
Hi again,
>You seem to misunderstand Class["name"].Instance. In your first mail you>wrote:
>
>>> Dim hFirmata As Firmata
>>>
>>> hFirmata = Class["Firmata1"].Instance
>
>But Firmata1 is the name of one of your *objects*. The syntax Class["name"]
>searches for a *class* named "Firmata1", which lik
On Wed, 24 Feb 2016, Matias De lellis wrote:
> Well...
> You're right .. The 'Instance' method seems to be hidden.. However, the
> example clearly indicates that this was the way to use it..??
> I have to research better, but if they have to be a static class, this does
> not help me ..
>
You s
Well...
You're right .. The 'Instance' method seems to be hidden.. However, the example
clearly indicates that this was the way to use it..
I have to research better, but if they have to be a static class, this does not
help me ..
El Miércoles, 24 de febrero, 2016 13:31:33, Jussi Lahtin
No, you completely misunderstood what I meant. I'm talking about the IDE.
See the pics.
Jussi
On Wed, Feb 24, 2016 at 4:10 PM, Matias De lellis
wrote:
> Hi Jussi
>
>
>
> > I see only Load method for Class!?
>
> Need the instance to use methods and observe events..
>
> > Is the "instance" hidde
Hi Jussi
> I see only Load method for Class!?
Need the instance to use methods and observe events..
> Is the "instance" hidden..?
No.. However test make it public, private, and any other options that I know..
:s
> in what version?
Last example attached, on Gambas 3.4.5 (Debian Jessie), but t
Hi
El Martes, 23 de febrero, 2016 21:00:06, Tobias Boege
escribió:
On Tue, 23 Feb 2016, Matias De lellis wrote:
> > So, what I read out of your mail is that you have one object Firmata1 which
> > has a certain configuration. You now want to add controls dynamically to the
> > Form which should i
I see only Load method for Class!? Is the "instance" hidden..? Or in what
version?
Jussi
On Wed, Feb 24, 2016 at 2:00 AM, Tobias Boege wrote:
> On Tue, 23 Feb 2016, Matias De lellis wrote:
> > > So, what I read out of your mail is that you have one object Firmata1
> which
> > > has a certain c
On Tue, 23 Feb 2016, Matias De lellis wrote:
> > So, what I read out of your mail is that you have one object Firmata1 which
> > has a certain configuration. You now want to add controls dynamically to the
> > Form which should inherit Firmata1's configuration by obtaining a reference
> > to the Fi
Hi,
> I'm not sure if I understand you correctly. [ In case I don't, I would
> suggest that you maybe use pseudo code and simpler (Gambas-only) terms to
> state what you want to do. I mean: should I be required to look up the
> "Firmata protocol" and "Ctrlr" and "MIDI" to answer your question abou
Or make the configurations static, along with boolean which tells if the
serial port is already opened.
Jussi
On Wed, Feb 24, 2016 at 1:07 AM, Jussi Lahtinen
wrote:
> I don't understand the problem. You have to instantiate the Firmata at
> least once, or it will have to be static class.
> Why
On Tue, 23 Feb 2016, Matias De lellis wrote:
> Dear All,
>
>
> I'm starting a new project. In a few words is a set of controls to interact
> with Arduino using the Firmata protocol[1].
> To understand better, in general the idea is inspired by Ctrlr[2] that allows
> interact with MIDI controll
I don't understand the problem. You have to instantiate the Firmata at
least once, or it will have to be static class.
Why don't you just make the declaration public?
Jussi
On Wed, Feb 24, 2016 at 12:47 AM, Matias De lellis
wrote:
> Hi Jussi
>
>
>
> > You don't have class named Firmata1?
>
> N
Hi Jussi
> You don't have class named Firmata1?
No.. The class is "Firmata", and the instance name in "Fimata1"
> I think there is error in the documentation. I don't see Class having
> instance method.
Maybe. I did not find example of this .. :S
> Try:
> hFirmata = Object.New("Firmata")
I think there is error in the documentation. I don't see Class having
instance method.
Try:
hFirmata = Object.New("Firmata")
Name of the object can be passed as argument.
Jussi
On Tue, Feb 23, 2016 at 10:54 PM, Matias De lellis
wrote:
> Dear All,
>
>
> I'm starting a new project. In a few wo
You don't have class named Firmata1?
Jussi
On Tue, Feb 23, 2016 at 10:54 PM, Matias De lellis
wrote:
> Dear All,
>
>
> I'm starting a new project. In a few words is a set of controls to
> interact with Arduino using the Firmata protocol[1].
> To understand better, in general the idea is inspir
Dear All,
I'm starting a new project. In a few words is a set of controls to interact
with Arduino using the Firmata protocol[1].
To understand better, in general the idea is inspired by Ctrlr[2] that allows
interact with MIDI controllers adding simple components in a form..
I started implem
21 matches
Mail list logo