[Gambas-user] painting graph to image continuously

wally wally at ...2037...
Wed Dec 22 19:12:35 CET 2010


On Wednesday 22 December 2010 18:55:55 Fabien Bodard wrote:
> 2010/12/22 wally <wally at ...2037...>:
> > On Saturday 18 December 2010 14:44:22 Fabien Bodard wrote:
> >> ok wally this is the full demo of what you want to do, and what you
> >> need to do for that. I use like often in gambas
> >> a data/view model ... the drawingarea is just a viewer for the data
> >> and the _draw event contain the rules do draw the datas.
> >> The datas are stored in an array $aDatas.
> >>
> >> The Timer emulate the datas entry
> >>
> >> 2010/12/18 Fabien Bodard <gambas.fr at ...626...>:
> >> >> Fabian,
> >> >>
> >> >> yes, you are right, this may be a problem.
> >> >> I will try to collect the data as short as possible in a data-array
> >> >> and display always only the graph of a segment of this array.
> >> >> Your DemoGraph was helpful to see how the _draw event is
> >> >> used and i'll try this way too.
> >> >> But for now i would like to know how the DrawingArea.Resize
> >> >> works internally and why there are differences in GB2 and GB3.
> >> >>
> >> >> wally
> >> >>
> >> >
> >> > Resize is a procedure inherited from control ... it just resize the
> >> > controle ... but can have conflict with autoarrangement.
> >> >
> >> >
> >> >
> >> > --
> >> > Fabien Bodard
> >> >
> >>
> >>
> >>
> >> --
> >> Fabien Bodard
> >>
> >
> > Fabian,
> >
> > is there a way to provide parameters "x" to the _draw(x) event ?
> > Actually i do this with punlic variables.
> 
> No you can't ... and i don't see why it is necessary .... from where
> do you want to setup this var ?
> 
> 
> >
> > wally
> >
> >
> >
> >
> >
> >
> >
> > 
------------------------------------------------------------------------------
> > Forrester recently released a report on the Return on Investment (ROI) of
> > Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
> > within 7 months.  Over 3 million businesses have gone Google with Google 
Apps:
> > an online email calendar, and document program that's accessible from your
> > browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> 
> 
> 
> -- 
> Fabien Bodard
> 
> 
------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, 
and, 
> should the need arise, upgrade to a full multi-node Oracle RAC database 
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 


Fabian, 

No, you are right - not really necessary.
I just was curious.

wally









More information about the User mailing list