Re: [Gambas-user] In simple English could someone explain what the h does in instanciation?

2009-04-05 Thread Werner
jbskaggs wrote: > Thanks. > > JB Skaggs > > Rob Kudla wrote: > >> On Sunday 05 April 2009 23:15, jbskaggs wrote: >> >>> dim hTextbox1 as Textbox >>> vesus >>> dim myTextbox1 as Textbox >>> What is happening with these two different statements? >>> >> The first one creates a new textb

Re: [Gambas-user] In simple English could someone explain what the h does in instanciation?

2009-04-05 Thread jbskaggs
Thanks. JB Skaggs Rob Kudla wrote: > > On Sunday 05 April 2009 23:15, jbskaggs wrote: >> dim hTextbox1 as Textbox >> vesus >> dim myTextbox1 as Textbox >> What is happening with these two different statements? > > The first one creates a new textbox object called hTextbox1. The second > crea

Re: [Gambas-user] In simple English could someone explain what the h does in instanciation?

2009-04-05 Thread Rob
On Sunday 05 April 2009 23:15, jbskaggs wrote: > dim hTextbox1 as Textbox > vesus > dim myTextbox1 as Textbox > What is happening with these two different statements? The first one creates a new textbox object called hTextbox1. The second creates a new textbox object called myTextbox1. The us

Re: [Gambas-user] Panning a picturebox inside a scrollview with mouse

2009-04-05 Thread Steven James Drinnan
Hi here is an example. In this example, you can embed the ocphotoview into a form. It is from a project that I am working on, so . Some of the code comes from the web camera example. There are some use full functions there as well. To load a picture right click. You can select. By file or Web c

[Gambas-user] In simple English could someone explain what the h does in instanciation?

2009-04-05 Thread jbskaggs
when I am adding new objects what specifically does the h do? As in: dim hTextbox1 as Textbox vesus dim myTextbox1 as Textbox What is happening with these two different statements? Thanks for your help. -- View this message in context: http://www.nabble.com/In-simple-English-could-some

Re: [Gambas-user] Bug in code parser

2009-04-05 Thread Benoît Minisini
> I discovered a funny bug in the code parser... > If I write: > > DIM s AS Integer > s = Int(Rnd(0, 10)) MOD 3 > > I get: > Type mystmatch: wanted integer, got float instead. But Int() should return > an integer... > > But if I write: > > DIM s AS Integer > s = Int(Rnd(0, 10)) > s = s MOD 3 > > th

[Gambas-user] Bug in code parser

2009-04-05 Thread Leonardo Miliani
I discovered a funny bug in the code parser... If I write: DIM s AS Integer s = Int(Rnd(0, 10)) MOD 3 I get: Type mystmatch: wanted integer, got float instead. But Int() should return an integer... But if I write: DIM s AS Integer s = Int(Rnd(0, 10)) s = s MOD 3 the code is executed without pr

Re: [Gambas-user] Headache causing misplaced error message.

2009-04-05 Thread Benoît Minisini
> Hi! > Here is very simplified example of the bug I found (Gambas 2.10 and > Gambas3 rev. 1917). > > >From that you can easily see what is wrong, but in real life code... > > This bug seems to be generally in "else if", error doesn't have to be > division by zero, it could be any. > And there coul

Re: [Gambas-user] Fwd: PB using tableview object

2009-04-05 Thread Olivier Cruilles
Thank you for the answer. For the moment I don't use Gambas 3 for my project, just to try some features that are not present in the Gambas 2. So as you said, if you backport the fix in the Gambas 2.x, it wil be great for me but not essential because it's only a visual bug for me. I locked the

Re: [Gambas-user] Fwd: PB using tableview object

2009-04-05 Thread Benoît Minisini
> Benoit, > > Sorry for the explications, I'm not really good in english. > > So, I used a TableView because I did find in the GridView how o edit a > single Cell. > > Second part, I don't know how to attach for exemple a TextBox inside a > Cell of an object (like a GridView), > if it's possible of

Re: [Gambas-user] On ver 2.12 Form tool box properties why doesn't valubox have a value property?

2009-04-05 Thread jbskaggs
Cool- I just learned something. JB Bugzilla from gam...@users.sourceforge.net wrote: > >> I know valuebox has a value property that can be set in code- but why >> isn't >> there one on the Form designer toolbox? For forms with default values it >> should be there when you are making the control

Re: [Gambas-user] Headache causing misplaced error message.

2009-04-05 Thread Benoît Minisini
> Hi! > Here is very simplified example of the bug I found (Gambas 2.10 and > Gambas3 rev. 1917). > > >From that you can easily see what is wrong, but in real life code... > > This bug seems to be generally in "else if", error doesn't have to be > division by zero, it could be any. > And there coul

Re: [Gambas-user] On ver 2.12 Form tool box properties why doesn't valubox have a value property?

2009-04-05 Thread Benoît Minisini
> I know valuebox has a value property that can be set in code- but why isn't > there one on the Form designer toolbox? For forms with default values it > should be there when you are making the controls on the form like textbox > or label. > > Was this intentional or just overlooked? > > JB SKaggs

Re: [Gambas-user] Gambas freezes with Qt apps

2009-04-05 Thread Benoît Minisini
> Starting from 2.11 Gambas usually manifests some freezes when Qt > applications are run on some systems. With release 2.12 things seem not > to be changed: freezes still continue to randomly appear. > For "freeze" I mean that even I click on the "Run" button from the IDE > or when trying to start

[Gambas-user] Panning a picturebox inside a scrollview with mouse

2009-04-05 Thread Jesus Guardon
I need some help about this issue, because I'm unable to get it working. What I want to do is panning a picturebox inside a scrollview when I click RMB and move the mouse around. BTW, something usual in a lot of graphical apps. Can anyone help me, please? Attached is the basic project in Gambas2

[Gambas-user] Gambas freezes with Qt apps

2009-04-05 Thread Leonardo Miliani
Starting from 2.11 Gambas usually manifests some freezes when Qt applications are run on some systems. With release 2.12 things seem not to be changed: freezes still continue to randomly appear. For "freeze" I mean that even I click on the "Run" button from the IDE or when trying to start the appli

Re: [Gambas-user] Ugly gtk warnings with tabstrip object

2009-04-05 Thread Benoît Minisini
> I Just noticed when I added a tabstrip to my form, when the form loads I > see this output on the terminal > > (speedy:14712): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to > allocate widget with width -5 and height 0 > > This appears to be related to the tabstrip only. If I remove the t

Re: [Gambas-user] IDE bugs

2009-04-05 Thread Leonardo Miliani
Jussi Lahtinen ha scritto: > Hi! > Seems to be old bug... At least I can't reproduce it on Gambas 2.10. > Please inform version you are using when doing bug reports. > > > Jussi I usually last versions, now 2.12 on Ubuntu 8.10 (as I said in other posts). Anyway, there are other bugs that have a