[Gambas-user] Question about classes abd class variables

2011-07-16 Thread nando
Benoit, I'm look for clarity on a particular thing. Consider the following example class named 'K': STATIC PUBLIC GridX AS Integer PUBLIC c AS Integer = 0 PUBLIC SUB clear() c = 0 END The following two lines are in _init of another class or module: K.GridX = 6 <---T

Re: [Gambas-user] a gambas3 component does not provide underlying components

2011-07-16 Thread Benoît Minisini
> > Salut, > > may be I missed it, but how can I (we users) continue to use components > in gambas3 ? You meant "libraries" ? -- Benoît Minisini -- AppSumo Presents a FREE Video for the SourceForge Community by Eric

Re: [Gambas-user] a gambas3 component does not provide underlying components

2011-07-16 Thread Charlie Reinl
Am Samstag, den 16.07.2011, 00:40 +0200 schrieb Benoît Minisini: > > Salut Benoit, > > > > I'm porting actually a gambas2 application to gambas3. > > > > The application consists of several parts. These parts can be ran as > > executable, or used as component (now Library) in other applications.

Re: [Gambas-user] Webview visualization error in Gambas3

2011-07-16 Thread Benoît Minisini
> If i create the following html file: > ... > > > Firefox works good, Webview don't visualize linecharts. It works there. Did you enable JavaScript in the WebView? -- Benoît Minisini -- AppSumo Presents a FREE Video

Re: [Gambas-user] DrawArea vs ScrollArea ?

2011-07-16 Thread Benoît Minisini
> Merci Fabiean, > > "paint.widht/height" thats a hint i can work with! > > I'm too stupid to derive documentation ad hoc from c sourcecode. > Thats the reason i always ask here for examples :) > And it is the reason i use Gambas, otherwiese i would do C/C++ and Qt > directly. > > OK, let me try

Re: [Gambas-user] DrawArea vs ScrollArea ?

2011-07-16 Thread Benoît Minisini
> 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 ex

Re: [Gambas-user] DrawArea vs ScrollArea ?

2011-07-16 Thread wally
Paint.height/width is read-only and returns the size H/W of the ScrollArea control. How to make the scrollbars appear ? On Saturday, July 16, 2011 12:32:28 wally wrote: > Merci Fabiean, > > "paint.widht/height" thats a hint i can work with! > > I'm too stupid to derive documentation ad hoc f

Re: [Gambas-user] DrawArea vs ScrollArea ?

2011-07-16 Thread wally
Merci Fabiean, "paint.widht/height" thats a hint i can work with! I'm too stupid to derive documentation ad hoc from c sourcecode. Thats the reason i always ask here for examples :) And it is the reason i use Gambas, otherwiese i would do C/C++ and Qt directly. OK, let me try these properties

Re: [Gambas-user] DrawArea vs ScrollArea ?

2011-07-16 Thread Fabien Bodard
2011/7/16 wally : > 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 Satur

Re: [Gambas-user] DrawArea vs ScrollArea ?

2011-07-16 Thread wally
Fabian, please jsut tell m: Is there a difference or not when using paint_event. wally On Saturday, July 16, 2011 09:53:45 Fabien Bodard wrote: > 2011/7/15 wally : > > Is there any difference between DrawArea and ScrollArea when using > > painted=true and the draw_event ? > > Can i set the dr

Re: [Gambas-user] DrawArea vs ScrollArea ?

2011-07-16 Thread Fabien Bodard
2011/7/15 wally : > > 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

Re: [Gambas-user] gb3: gb.sdl.sound: How to adjust the volume of a sound being played

2011-07-16 Thread Kevin Fishburne
On 07/16/2011 02:26 AM, Kevin Fishburne wrote: > I have some code: > > ' General declarations. > Public Ocean As Sound = New Sound(GUI.basepath& "/sound/Ocean.wav") > Public SeawashHeavy As Sound = New Sound(GUI.basepath& "/sound/Seawash, > Heavy.wav") > Public Lake As Sound = New Sound(GUI.basep