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
Good idea! Thank you!
Rolf
Am 23.02.2016 15:31, schrieb Fabien Bodard:
> Just make a Private function :
>
> Private Function GridViewCurrentY() as integer
>
>return GridView.Current.Y - GridView.ScrollY + GridView.ClientY
>
> end
>
>
> IN
>
> GridView.Row = Hour(Now)
>
> baines.Y = GridView.Y
Just make a Private function :
Private Function GridViewCurrentY() as integer
return GridView.Current.Y - GridView.ScrollY + GridView.ClientY
end
IN
GridView.Row = Hour(Now)
baines.Y = GridView.Y + GridView.Current.Y + ((GridView.Current.Height /
60) * Minute(Now))
REPLACE ALL GridView.C
Am 23.02.2016 12:56, schrieb Benoît Minisini:
> Le 23/02/2016 12:49, Rolf-Werner Eilert a écrit :
>>> GridView.Current.Y - GridView.ScrollY + GridView.ClientY should do the
>>> job. It returns the top cell relative to the GridView top.
>>>
>> Wow, that's tricky :) But it runs, so thank you very mu
Le 23/02/2016 12:49, Rolf-Werner Eilert a écrit :
>> GridView.Current.Y - GridView.ScrollY + GridView.ClientY should do the
>> job. It returns the top cell relative to the GridView top.
>>
>
> Wow, that's tricky :) But it runs, so thank you very much!
>
> Regards
> Rolf
>
It's not tricky, it's bas
Am 23.02.2016 12:39, schrieb Benoît Minisini:
> Le 22/02/2016 17:43, Rolf-Werner Eilert a écrit :
>> Currently, I'm porting an old calendar project from Gambas2 to Gambas3.
>>
>> There is a GridView which shows days and times. It has 24 rows, so in
>> order to show a Baines Line, the code was
>>
>
Le 22/02/2016 17:43, Rolf-Werner Eilert a écrit :
> Currently, I'm porting an old calendar project from Gambas2 to Gambas3.
>
> There is a GridView which shows days and times. It has 24 rows, so in
> order to show a Baines Line, the code was
>
> GridView.Row = Hour(Now)
>
> baines.Y = GridView.Y +
To make things clearer:
What my program needs is Y coordinates relative to the upper edge of the
GridView, not relative to the grid's upper edge (which may be scrolled
to somewhere above under the GridView's upper edge).
Regards
Rolf
Am 23.02.2016 11:17, schrieb Charlie:
> What's a Baines Line
Ah, ok... :) It's not so important for this topic, but: Have you seen a
calendar application which has a hovering thin horizontal line showing
the hour + minute graphically above the day's dates? That's a Baines
Line. Maybe named after its inventor?
But there are other elements which are shown
What's a Baines Line?
--
View this message in context:
http://gambas.8142.n7.nabble.com/GridView-and-Current-Y-tp55508p55509.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Site24x7 APM Insight: Ge
19 matches
Mail list logo