[Gambas-user] ScrollArea Problem
wally
wally at ...2037...
Fri Jul 8 12:08:09 CEST 2011
any line code is written yet.
Just started to put scrollarea on form and set properties
On Friday, July 08, 2011 11:55:37 Fabien Bodard wrote:
> show me your code for _draw
>
> 2011/7/8 wally <wally at ...2037...>:
> > Fabian,
> >
> > i thoughr ScrollArea is the same as DrawingArea + Scollbars.
> > So it should be possible to use the draw_event.
> > I paint my curve data in this event routine but the Painted property must
> > be set true.
> > What is my mistake ?
> >
> > wally
> >
> > On Friday, July 08, 2011 10:00:59 Fabien Bodard wrote:
> >> 2011/7/8 wally <wally at ...2037...>:
> >> > Hi,
> >> >
> >> > Gambas 3, ScrollArea (painted=true)
> >> >
> >> > when i set "Painted" property to True i get the following Message:
> >> > see attachment and IDE crashes.
> >> >
> >> > Is there some ScrollArea example code available or some infos
> >> > how to use this widget ?
> >>
> >> you have the iconview widget that use this powerfull component.
> >>
> >> look in the gambas sources :
> >>
> >> trunk/comp/src/gb.form
> >>
> >> (open gb.form with gambas ide)
> >>
> >>
> >> the error say you are trying to use draw function when you have
> >> selected paint base. In this case use the paint class.
> >>
> >> if you want to use the draw class set painted to false. (its like the
> >> drawingarea)
> >>
> >>
> >> The difference between drawingarea and scrollarea is that scroll area
> >> have integrated scrollbar and a wheel event
> >>
> >> > wally
> >> >
> >> > ----------------------------------------------------------------------
> >> > --- ----- All of the data generated in your IT infrastructure is
> >> > seriously valuable. Why? It contains a definitive record of
> >> > application performance, security threats, fraudulent activity, and
> >> > more. Splunk takes this data and makes sense of it. IT sense. And
> >> > common sense. http://p.sf.net/sfu/splunk-d2d-c2
> >> > _______________________________________________
> >> > Gambas-user mailing list
> >> > Gambas-user at lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> > -------------------------------------------------------------------------
> > ----- All of the data generated in your IT infrastructure is seriously
> > valuable. Why? It contains a definitive record of application
> > performance, security threats, fraudulent activity, and more. Splunk
> > takes this data and makes sense of it. IT sense. And common sense.
> > http://p.sf.net/sfu/splunk-d2d-c2
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list