[Gambas-user] DrawArea vs ScrollArea ?

Fabien Bodard gambas.fr at ...626...
Sat Jul 16 12:23:26 CEST 2011


2011/7/16 wally <wally at ...2037...>:
> Fabian,
>
> please jsut tell m: Is there a difference or not when using paint_event.
no difference

just the paint.widht/height that are the full size menus the scrollbar size.

take a look at the iconview to see what event, and what property are used

>
> wally
>
>
>
> On Saturday, July 16, 2011 09:53:45 Fabien Bodard wrote:
>> 2011/7/15 wally <wally at ...2037...>:
>> > Is there any difference between DrawArea and ScrollArea when using
>> > painted=true and the draw_event ?
>> > Can i set the drawable area bigger than the controls size
>> > (ScrollArea.W, ScrollArea.H) ?
>> > If i draw e.g. a line over the extends of width and heigth the scrollbars
>> > does not appear as i expected.
>> >
>> > Any kind of example clearing the behavior of ScrollArea is highly
>> > apreciated. Thanks wally
>> >
>> >
>> > -------------------------------------------------------------------------
>> > ----- AppSumo Presents a FREE Video for the SourceForge Community by Eric
>> > Ries, the creator of the Lean Startup Methodology on "Lean Startup
>> > Secrets Revealed." This video shows you how to validate your ideas,
>> > optimize your ideas and identify your business strategy.
>> > http://p.sf.net/sfu/appsumosfdev2dev
>> > _______________________________________________
>> > Gambas-user mailing list
>> > Gambas-user at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>> scroll area is a drawing area with scroll bars...
>>
>> look in the sources in trunk/comp/src/gb.form in the iconview classes
>>
>> the last iconview  widget is written using the scrollarea
>
> ------------------------------------------------------------------------------
> AppSumo Presents a FREE Video for the SourceForge Community by Eric
> Ries, the creator of the Lean Startup Methodology on "Lean Startup
> Secrets Revealed." This video shows you how to validate your ideas,
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fabien Bodard




More information about the User mailing list