Re: [Gambas-user] Programming beginner: first program won't run?

2009-04-18 Thread jbskaggs
Well my thinking was maybe you didnt have gtk loaded so to try qt but maybe you dont have qt either. Do you know if you hve gtk or qt loaded on your version of linux? And if so what version it is? Or some other dependency. Thats the only thng I can think of, but maybe the more experienced guys

Re: [Gambas-user] Programming beginner: first program won't run?

2009-04-18 Thread phohammer
jbskaggs wrote: > > Try just unclicking the gb gui and gb gtk and click QT you shouldnt have > to rewrite the whole thing. > > JB SKaggs > > > I tried it and it still won't run the dialog box - I only have these components enabled now: http://www.nabble.com/file/p23119747/onltgb_gbform_

Re: [Gambas-user] Programming beginner: first program won't run?

2009-04-18 Thread jbskaggs
Try just unclicking the gb gui and gb gtk and click QT you shouldnt have to rewrite the whole thing. JB SKaggs phohammer wrote: > > > jbskaggs wrote: >> >> Please send a screenshot of what it does when it runs? >> >> Oh what components do you have installed under project preferences? QT?

Re: [Gambas-user] Programming beginner: first program won't run?

2009-04-18 Thread phohammer
jbskaggs wrote: > > Please send a screenshot of what it does when it runs? > > Oh what components do you have installed under project preferences? QT? > > JB Skaggs > > It simply says "compiling project..." as seen http://www.nabble.com/file/p23119198/compiling.png here . I'm not sure wha

Re: [Gambas-user] Programming beginner: first program won't run?

2009-04-18 Thread jbskaggs
Please send a screenshot of what it does when it runs? Oh what components do you have installed under project preferences? QT? JB Skaggs phohammer wrote: > > > jbskaggs wrote: >> >> >> Tell me if this runs for you? >> >> > > No luck. I even matched the cases (lower case) for the code and

Re: [Gambas-user] Programming beginner: first program won't run?

2009-04-18 Thread phohammer
jbskaggs wrote: > > > Tell me if this runs for you? > > No luck. I even matched the cases (lower case) for the code and properties. You can see my code and form in the files I uploaded: http://www.nabble.com/file/p23119191/fmainform.png fmainform.png and http://www.nabble.com/file/p231191

Re: [Gambas-user] Programming beginner: first program won't run?

2009-04-18 Thread jbskaggs
Okay two other things then: make sure your control names match the names in your code (ie label1 is actually named label1 on the form etc) two make sure you dont have the controls set to visible.false on the form. try this code: public sub form_open() label1.visible=true button1.visible

Re: [Gambas-user] Programming beginner: first program won't run?

2009-04-18 Thread phohammer
Yep, I created the form just as the tutorial said (in my first post): http://www.nabble.com/file/p23118993/form.png jbskaggs wrote: > > Hi I hope this doesn't seem too basic- but did you create your form and > draw the textbox1, label1, and button1? > > JB SKaggs > > -- View this message

Re: [Gambas-user] Programming beginner: first program won't run?

2009-04-18 Thread jbskaggs
Hi I hope this doesn't seem too basic- but did you create your form and draw the textbox1, label1, and button1? JB SKaggs phohammer wrote: > > Hello, > I am trying to learn a little bit about OOP with Gambas. I attempted to > create the "Hello World" program found here: > http://gambas.sourc

[Gambas-user] Databrowser

2009-04-18 Thread Rodney Rundstrom
When I insert a databrowser into my project I sometime do not see all the control icons and currently on some when all are there the "new" does seem to work Anyone help Thanks Rodney Rundstrom -- Stay on top of everyt

Re: [Gambas-user] Object creating properties? ball.speed, ball.solid, etc

2009-04-18 Thread jbskaggs
Thanks to you both!Yes this is what I needed. JB Skaggs Jussi Lahtinen wrote: > > 'Class CBallModel > Public speed as Integer > Public solid as Integer > Public item as Integer > > Then just; > Dim Ball as New CBallModel > > 'Set speed to 10 > Ball.speed = 10 > > Is that you were looki

Re: [Gambas-user] Nasty bug in "With" instruction!

2009-04-18 Thread Jussi Lahtinen
Some more testing... With this code: With tmp .y = 0 tmp = funcx() With tmp ' Extra with instruction. Debug .y Debug tmp.y End With End With Or with this: With tmp .y = 0 funcx2(tmp) ' By reference (unfortunately this solution doesn't fit to my code). Debug .y Debu

Re: [Gambas-user] Object creating properties? ball.speed, ball.solid, etc

2009-04-18 Thread Jussi Lahtinen
'Class CBallModel Public speed as Integer Public solid as Integer Public item as Integer Then just; Dim Ball as New CBallModel 'Set speed to 10 Ball.speed = 10 Is that you were looking for? Jussi On Sat, Apr 18, 2009 at 14:46, Simonart Dominique wrote: > Simonart Dominique a écrit : >> j

Re: [Gambas-user] Object creating properties? ball.speed, ball.solid, etc

2009-04-18 Thread Simonart Dominique
Simonart Dominique a écrit : > jbskaggs a écrit : >> I need to know how to either create an object to where I can attach a list of >> variables or how to give myself the ability to do the following: >> >> lets say I want to name my special object: ball. >> >> I want to be able to create special pro

Re: [Gambas-user] Object creating properties? ball.speed, ball.solid, etc

2009-04-18 Thread Simonart Dominique
jbskaggs a écrit : > > I need to know how to either create an object to where I can attach a list of > variables or how to give myself the ability to do the following: > > lets say I want to name my special object: ball. > > I want to be able to create special properties for that ball I can acce

[Gambas-user] Object creating properties? ball.speed, ball.solid, etc

2009-04-18 Thread jbskaggs
I need to know how to either create an object to where I can attach a list of variables or how to give myself the ability to do the following: lets say I want to name my special object: ball. I want to be able to create special properties for that ball I can access with .property (or variable)