Re: [Gnoga-list] Newbie gnoga questions...

2018-01-12 Thread Gautier de Montmollin
Some issues appeared in my apps when *not* using the compilation options of Gnoga, i.e. by bypassing the "with Gnoga.gpr" feature and building everything with custom options, in a standalone project file. Perhaps it is that. Otherwise (then, by with-ing the Gnoga project properly) all unhandled

Re: [Gnoga-list] Newbie gnoga questions...

2018-01-12 Thread Jeremiah Breeden
I wish I could help with the reason the connection is lost, but I don't know enough about Gnoga to answer that. That's more of a Pascal or David question. If a connection is truly lost, you do have some ways to run code at that point. If running Singleton apps, just use the code space after your

Re: [Gnoga-list] Newbie gnoga questions...

2018-01-10 Thread Brian Drummond
On Tue, 2018-01-09 at 23:38 -0500, Jeremiah Breeden wrote: > Wouldn't MyView.Width just return the width of that view?  On a phone > it would be similar to the screen size, but on something like a > laptop or desktop it might not be (depends on if the browser is > maximized or not).  Something to c

Re: [Gnoga-list] Newbie gnoga questions...

2018-01-10 Thread Brian Drummond
On Tue, 2018-01-09 at 23:38 -0500, Jeremiah Breeden wrote: > Wouldn't MyView.Width just return the width of that view?  On a phone > it would be similar to the screen size, ... p.s. just found On_Resize_Handler in my notes for today's experiments, so that part of the question is redundant... - Br

Re: [Gnoga-list] Newbie gnoga questions...

2018-01-09 Thread Jeremiah Breeden
Wouldn't MyView.Width just return the width of that view? On a phone it would be similar to the screen size, but on something like a laptop or desktop it might not be (depends on if the browser is maximized or not). Something to consider at least. On Sun, Jan 7, 2018 at 6:24 PM, Brian Drummond wr

Re: [Gnoga-list] Newbie gnoga questions...

2018-01-07 Thread Brian Drummond
On Sun, 2018-01-07 at 09:38 -0500, Jeremiah Breeden wrote: > I can't help with the exception, but for the screen size thing, have > you tried out the Gnoga.Gui.Screen package?  Does it supply what you > need? Thanks! Actually, it's simpler than that : MyView.Width gives the answer. Still having t

Re: [Gnoga-list] Newbie gnoga questions...

2018-01-07 Thread Jeremiah Breeden
I can't help with the exception, but for the screen size thing, have you tried out the Gnoga.Gui.Screen package? Does it supply what you need? On Sat, Jan 6, 2018 at 6:40 PM, Brian Drummond wrote: > Just started playing with Gnoga, my first project is data logging and > display from a cheap DAQ

[Gnoga-list] Newbie gnoga questions...

2018-01-06 Thread Brian Drummond
Just started playing with Gnoga, my first project is data logging and display from a cheap DAQ (measuring voltages, switching battery charger/test loads to measure battery capacity. I'm setting this up as a multi-connect, displaying graphs on a Canvas. Couple of questions: 1) How do I interrogat