[Gambas-user] Mouse control and calibration
I'm making a digitiser table to plot parts direct into a simple CAD program (in Gambas). As I'm butchering a mouse and using the XY wheel directly into the digitiser (as a normal mouse input), I need somehow to be able to count each encoder count and relate that back to the screen drawing. Is there a way to capture each mouse encoder movement ? As I know each encoder count movement in real distance, the should be easy as they say :-) Cheers Kim -- View this message in context: http://old.nabble.com/Mouse-control-and-calibration-tp31340686p31340686.html Sent from the gambas-user mailing list archive at Nabble.com. -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] How to generate a new frame or pic box when a button is pressed
I got a button on a form and when I click the button I need the program to load a new frame/picture. Also I would like to be able to move the new frame/pic around on the screen to suit. How do I go about the above ? Cheers kim -- View this message in context: http://old.nabble.com/How-to-generate-a-new-frame-or-pic-box-when-a-button-is-pressed-tp27095733p27095733.html Sent from the gambas-user mailing list archive at Nabble.com. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] How to generate a new frame or pic box when a button is pressed
Fab, thanks for that. I got the form to show fine but I'm a bit confused about the movement with the mouse. Tell me if I'm on the right track here: X,Y of the mouse is within X,Y of the object to be moved and while MouseDown, move object to current Mouse X,Y coordinates. Do I handle each of the events as separate sub routines ? I mainly struggle because I come from a 8-bit chip background where you need to know absolutely everything. Cheers Kim Fabien Bodard-4 wrote: > > in fact you need to load a new form, set it's border to none, set it's > size to the picture size, set it's picture to the picture, and then > manage the movement with mouseDown, mouseUp and MouseMove events. > > > dim hForm as new Form > hForm.Resize(hPic.W, hPic.H) > hForm.Picture = hPic > hForm.Border = Border.None > > > > > 2010/1/10 k p : >> I got a button on a form and when I click the button I need the program >> to >> load a new frame/picture. >> Also I would like to be able to move the new frame/pic around on the >> screen >> to suit. >> >> How do I go about the above ? >> >> Cheers >> >> kim >> -- >> This SF.Net email is sponsored by the Verizon Developer Community >> Take advantage of Verizon's best-in-class app development support >> A streamlined, 14 day to market process makes app distribution fast and >> easy >> Join now and get one step closer to millions of Verizon customers >> http://p.sf.net/sfu/verizon-dev2dev >> ___ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > -- > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/How-to-generate-a-new-frame-or-pic-box-when-a-button-is-pressed-tp27095779p27106569.html Sent from the gambas-user mailing list archive at Nabble.com. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] SOLVED - How to generate a new frame or pic box when a button is pressed
Wicked, I like it :-) PRIVATE $MX AS Integer PRIVATE $MY AS Integer PUBLIC SUB Form_MouseDown() $MX = Mouse.ScreenX - ME.X $MY = Mouse.ScreenY - ME.Y END PUBLIC SUB Form_MouseMove() ME.Move(Mouse.ScreenX - $MX, Mouse.ScreenY - $MY) END It's like that :) 2010/1/11 Fiddler63 : > > Fab, thanks for that. > I got the form to show fine but I'm a bit confused about the movement with > the mouse. > Tell me if I'm on the right track here: > > X,Y of the mouse is within X,Y of the object to be moved > and while MouseDown, move object to current Mouse X,Y coordinates. > > Do I handle each of the events as separate sub routines ? > > I mainly struggle because I come from a 8-bit chip background where you > need > to know absolutely everything. > > Cheers > Kim > > > > > Fabien Bodard-4 wrote: >> >> in fact you need to load a new form, set it's border to none, set it's >> size to the picture size, set it's picture to the picture, and then >> manage the movement with mouseDown, mouseUp and MouseMove events. >> >> >> dim hForm as new Form >> hForm.Resize(hPic.W, hPic.H) >> hForm.Picture = hPic >> hForm.Border = Border.None >> >> >> >> >> 2010/1/10 k p : >>> I got a button on a form and when I click the button I need the program >>> to >>> load a new frame/picture. >>> Also I would like to be able to move the new frame/pic around on the >>> screen >>> to suit. >>> >>> How do I go about the above ? >>> >>> Cheers >>> >>> kim -- View this message in context: http://old.nabble.com/How-to-generate-a-new-frame-or-pic-box-when-a-button-is-pressed-tp27095779p27107825.html Sent from the gambas-user mailing list archive at Nabble.com. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Modal dialog + Balloon hangs program
Unable to open download Kim Hi all, Last night I discovered this feature: If you have a balloon on FMain and want to let it appear while there is a modal dialog open (I didn't test a non-modal form yet), the balloon isn't shown and the program hangs, eating 100 % CPU load. I made a little test app to show this and try to add it to this mail. If you press the Button and then close the dialog at once, the balloon will appear after 10 seconds. But if you do not close the dialog, the program will crash. Thanks for your comments! Regards Rolf -- View this message in context: http://old.nabble.com/Modal-dialog-%2B-Balloon-hangs-program-tp27140888p27141176.html Sent from the gambas-user mailing list archive at Nabble.com. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Modal dialog + Balloon hangs program
Works fine here Kim Maybe the rights are wrong? I tried it here, it works fine. Unpack that thing and try doing a chown -R on the directory, this should fix it for you. Rolf Am 13.01.2010 09:29, schrieb Fiddler63: > > Unable to open download > Kim > > > Hi all, > > Last night I discovered this feature: > > If you have a balloon on FMain and want to let it appear while there is > a modal dialog open (I didn't test a non-modal form yet), the balloon > isn't shown and the program hangs, eating 100 % CPU load. > > I made a little test app to show this and try to add it to this mail. > > If you press the Button and then close the dialog at once, the balloon > will appear after 10 seconds. But if you do not close the dialog, the > program will crash. > > Thanks for your comments! > > Regards > > Rolf -- View this message in context: http://old.nabble.com/Modal-dialog-%2B-Balloon-hangs-program-tp27140888p27141746.html Sent from the gambas-user mailing list archive at Nabble.com. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Modal dialog + Balloon hangs program
oops, I forgot. Ubuntu 9.10 and Gambas 2.13 Kim Works fine here Kim Rolf-Werner Eilert wrote: > > Maybe the rights are wrong? I tried it here, it works fine. Unpack that > thing and try doing a chown -R on the directory, this should fix it for > you. > > Rolf > > > Am 13.01.2010 09:29, schrieb Fiddler63: >> >> Unable to open download >> Kim >> >> >> Hi all, >> >> Last night I discovered this feature: >> >> If you have a balloon on FMain and want to let it appear while there is >> a modal dialog open (I didn't test a non-modal form yet), the balloon >> isn't shown and the program hangs, eating 100 % CPU load. >> >> I made a little test app to show this and try to add it to this mail. >> >> If you press the Button and then close the dialog at once, the balloon >> will appear after 10 seconds. But if you do not close the dialog, the >> program will crash. >> >> Thanks for your comments! >> >> Regards >> >> Rolf > > -- View this message in context: http://old.nabble.com/Modal-dialog-%2B-Balloon-hangs-program-tp27140888p27141906.html Sent from the gambas-user mailing list archive at Nabble.com. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Modal dialog + Balloon hangs program
Yes, the program run normally within no hangups or issues. kim Ok, yes, you're right: Mine is 2.16 on an "somewhat older" Suse 10.3 as terminal server. But I guess it's not that. "works fine" means no problems with it on your system? Rolf Am 13.01.2010 10:28, schrieb Fiddler63: > > oops, I forgot. > Ubuntu 9.10 and Gambas 2.13 > Kim > > > Works fine here > Kim > > -- View this message in context: http://old.nabble.com/Modal-dialog-%2B-Balloon-hangs-program-tp27140888p27159021.html Sent from the gambas-user mailing list archive at Nabble.com. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] problem with aligment same width (gambas3)
kobolds wrote: > > gambas3 qt4 > > I notice that gb ide auto change the width when it's not suppose too. > > I have 3 button each with width 90, 100,100 > > I want all 3 button width become 90 . I select them and choose align same > width . I notice all 3 button width now become 91 when it suppose to be 90 > . > > I also notice another problem that when I copy paste a button with width > 90 , the pasted button width is 89 > > This is also an issue in V2.13 And your layout in the IDE is quite different to layout when running the programming. Kim -- View this message in context: http://old.nabble.com/problem-with-aligment-same-width-%28gambas3%29-tp27184227p27187522.html Sent from the gambas-user mailing list archive at Nabble.com. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Error - Signal 11 - Gambas 2.19
A button with the following code will cause a Signal 11 error in Gambas 2.19. If I remove the ([50, 50]) I get no error. PUBLIC SUB New_Btn_Click() DIM hPic AS Picture hPic = NEW Picture([50, 50]) END Cheers Kim -- View this message in context: http://old.nabble.com/Error---Signal-11---Gambas-2.19-tp27187858p27187858.html Sent from the gambas-user mailing list archive at Nabble.com. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] problem with aligment same width (gambas3)
Kadaitcha Man wrote: > > 2010/1/16 Fiddler63 : >> kobolds wrote: >>> >>> gambas3 qt4 >>> >>> I notice that gb ide auto change the width when it's not suppose too. >>> >>> I have 3 button each with width 90, 100,100 >>> >>> I want all 3 button width become 90 . I select them and choose align >>> same >>> width . I notice all 3 button width now become 91 when it suppose to be >>> 90 >>> . >>> >>> I also notice another problem that when I copy paste a button with width >>> 90 , the pasted button width is 89 >>> >>> >> >> This is also an issue in V2.13 > > Crikey. When Adam was a lad... > >> And your layout in the IDE is quite different to layout when running the >> programming. >> Kim > > These are all non-Gambas-related issues; they are caused by the qt & > gtk toolkits. I had all kinds of weird issues so I moved to gb3 and > qt4 on Linux Ultimate edition 2.5 (Ubuntu 9.10 based) and the problem > was solved. The UI issues gave me freaking headaches and I was too > willing to blame Gambas but I was wrong. As soon as I got to gb3 and > qt4, all of those kinds of issues went away. > > Hint! Hint! > > I just installed Gambas 2.19 which I presume is Gambas3. Still same > issues. > Will try qt4 > I'm also running Ubuntu 9.10 > Cheers > > -- View this message in context: http://old.nabble.com/problem-with-aligment-same-width-%28gambas3%29-tp27184227p27187938.html Sent from the gambas-user mailing list archive at Nabble.com. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Error - Signal 11 - Gambas 2.19
> A button with the following code will cause a Signal 11 error in Gambas > 2.19. If I remove the ([50, 50]) I get no error. > > PUBLIC SUB New_Btn_Click() > DIM hPic AS Picture > hPic = NEW Picture([50, 50]) > > END > > Cheers > Kim > Please provide your full project, because you should not get a signal 11 (an interpreter crash) but a normal error message. I tried there, and got no signal 11, but the right error message (type mismatch...). Thanks in advance. Regards, -- Benoît Minisini Hmm, now when I run the code, I get error message (type mismatch). Weird -- View this message in context: http://old.nabble.com/Error---Signal-11---Gambas-2.19-tp27187858p27207132.html Sent from the gambas-user mailing list archive at Nabble.com. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] How to move an object within a form
I'm trying to move an object within a form. The following code allows me to move the form, but not the object within the form, ie when I click on the mouse I can move the form around on the screen, but no the object within the form. Any suggestions ? PRIVATE $MX AS Integer PRIVATE $MY AS Integer PUBLIC SUB DrawingArea1_MouseDown() $MX = Mouse.ScreenX - ME.X $MY = Mouse.ScreenY - ME.Y END PUBLIC SUB DrawingArea1_MouseMove() ME.Move(Mouse.ScreenX - $MX, Mouse.ScreenY - $MY) END -- View this message in context: http://old.nabble.com/How-to-move-an-object-within-a-form-tp27209201p27209201.html Sent from the gambas-user mailing list archive at Nabble.com. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Error - Signal 11 - Gambas 2.19
2010/1/18 Fiddler63 : >> A button with the following code will cause a Signal 11 error in Gambas >> 2.19. If I remove the ([50, 50]) I get no error. >> >> PUBLIC SUB New_Btn_Click() >> DIM hPic AS Picture >> hPic = NEW Picture([50, 50]) >> >> END >> >> Cheers >> Kim >> > > Please provide your full project, because you should not get a signal 11 > (an > interpreter crash) but a normal error message. I tried there, and got no > signal 11, but the right error message (type mismatch...). > Hmm, now when I run the code, I get error message (type mismatch). > Weird Weirder still... "Please provide your full project, because you should not get a signal 11". HTH What I mean is that I now get the "correct" error message and not "signal 11" error and I cannot reproduce the "signal 11" error on my system now. -- View this message in context: http://old.nabble.com/Error---Signal-11---Gambas-2.19-tp27187858p27209407.html Sent from the gambas-user mailing list archive at Nabble.com. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Error - Signal 11 - Gambas 2.19
Yep, running 64 bit Kim Ron Klinkien wrote: > > Didn't follow the complete thread, but are you running on a 64 bits OS? > > I had some weird crashes too (all fixed now), they occurred quite often, > but sometimes I had to restart my program 20+ times in a row to make it > fail again, it was because it only crashed when it was loaded in 64 bits > memory space. > > Regards, > Ron_2nd. >> >> 2010/1/18 Fiddler63 : >> >>>> A button with the following code will cause a Signal 11 error in Gambas >>>> 2.19. If I remove the ([50, 50]) I get no error. >>>> >>>> PUBLIC SUB New_Btn_Click() >>>> DIM hPic AS Picture >>>> hPic = NEW Picture([50, 50]) >>>> >>>> END >>>> >>>> Cheers >>>> Kim >>>> >>>> >>> Please provide your full project, because you should not get a signal 11 >>> (an >>> interpreter crash) but a normal error message. I tried there, and got no >>> signal 11, but the right error message (type mismatch...). >>> >> >> >>> Hmm, now when I run the code, I get error message (type mismatch). >>> Weird >>> >> >> Weirder still... "Please provide your full project, because you should >> not get a signal 11". >> >> HTH >> >> What I mean is that I now get the "correct" error message and not "signal >> 11" error and I cannot reproduce the "signal 11" error on my system now. >> >> > > > -- > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established > companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/Error---Signal-11---Gambas-2.19-tp27187858p27209516.html Sent from the gambas-user mailing list archive at Nabble.com. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] How to move an object within a form
I would like the user to be able to move the drawingarea around within the form. The drawingarea(s) will eventuality be created dynamically, when I get around to understand that part as well. Image a bunch of boxes like a mindmap, which you can move around on the screen (within the form). Kim Fabien Bodard-4 wrote: > > what do you want to do exactly... i don't understand :/ (english is > not my primary language !) > > 2010/1/18 Fiddler63 : >> >> I'm trying to move an object within a form. >> The following code allows me to move the form, but not the object within >> the >> form, ie when I click on the mouse I can move the form around on the >> screen, >> but no the object within the form. >> >> Any suggestions ? >> >> PRIVATE $MX AS Integer >> PRIVATE $MY AS Integer >> >> PUBLIC SUB DrawingArea1_MouseDown() >> $MX = Mouse.ScreenX - ME.X >> $MY = Mouse.ScreenY - ME.Y >> END >> >> PUBLIC SUB DrawingArea1_MouseMove() >> ME.Move(Mouse.ScreenX - $MX, Mouse.ScreenY - $MY) >> END >> -- >> View this message in context: >> http://old.nabble.com/How-to-move-an-object-within-a-form-tp27209201p27209201.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> >> >> -- >> Throughout its 18-year history, RSA Conference consistently attracts the >> world's best and brightest in the field, creating opportunities for >> Conference >> attendees to learn about information security's most important issues >> through >> interactions with peers, luminaries and emerging and established >> companies. >> http://p.sf.net/sfu/rsaconf-dev2dev >> ___ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > -- > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established > companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/How-to-move-an-object-within-a-form-tp27209201p27214892.html Sent from the gambas-user mailing list archive at Nabble.com. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] V2.19 closes unexpectedly
If I right click on Modules (in the left hand tree) and select properties (with no modules available) Gambas closes it current session. Not a major, but. Ubuntu 9.10 64 bit. Kim -- View this message in context: http://old.nabble.com/V2.19-closes-unexpectedly-tp27318860p27318860.html Sent from the gambas-user mailing list archive at Nabble.com. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] V2.19 closes unexpectedly
> If I right click on Modules (in the left hand tree) and select properties > (with no modules available) Gambas closes it current session. > Not a major, but. > > Ubuntu 9.10 64 bit. > > Kim > It is a crash or do you have a Gambas error message? -- Benoît Minisini No error message(s), gambas just closes Kim -- View this message in context: http://old.nabble.com/V2.19-closes-unexpectedly-tp27318860p27330694.html Sent from the gambas-user mailing list archive at Nabble.com. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] V2.19 closes unexpectedly
> If I right click on Modules (in the left hand tree) and select properties > (with no modules available) Gambas closes it current session. > Not a major, but. > > Ubuntu 9.10 64 bit. > > Kim > It is a crash or do you have a Gambas error message? -- Benoît Minisini No error message(s), gambas just closes Kim And when I start Gambas again, it appears it still running in the background somewhere as it asks to "reopen the program" as this could lead to data loss etc. Hope this helps kim -- View this message in context: http://old.nabble.com/V2.19-closes-unexpectedly-tp27318860p27330779.html Sent from the gambas-user mailing list archive at Nabble.com. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] indexing of buttons
On a basic type calculator I would like to index the buttons, ie 0 to 9, plus, minus etc. In VB the following code does that when a button is pressed: ' 'all the buttons has the name "Digits" Private Sub Digits_Click(Index As Integer) If ClearDisplay Then Display.Caption = "" ClearDisplay = False 'boolean End If Display.Caption = Display.Caption + Digits(Index).Caption End Sub '** In gambas I get an error if I give more that one button the same name. How do I index a row of buttons in Gambas ? Ta Kim -- View this message in context: http://old.nabble.com/indexing-of-buttons-tp27335200p27335200.html Sent from the gambas-user mailing list archive at Nabble.com. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] How to create a new drawing area
I have a button which, when clicked created a new drawing area. The following code does that fine (and I can move it with the mouse). PRIVATE LCD_01 AS NEW Picture PRIVATE LCD_02 AS NEW Picture PUBLIC SUB NewLCD_Btn_Click() LCD_01 = Picture.Load("Pix_C.png") LCD_02 = Picture.Load("Pix_A.png") DrawingArea2.X = 500 DrawingArea2.Y = 300 DrawingArea2.Border = 2 DrawingArea2.Resize(LCD_01.Width * 10, LCD_01.Height * 2) END PUBLIC SUB DrawingArea2_Draw() Draw.Picture(LCD_01, 5, 5) Draw.Picture(LCD_02, 43, 5) END PUBLIC SUB DrawingArea2_MouseMove() DrawingArea2.X += Mouse.X - Mouse.StartX DrawingArea2.Y += Mouse.Y - Mouse.StartY END '*** However when I click on the button, I get the same area drawn again (actually the already drawn area moves back to the origin x,y co-ordinates) I would like to create a new drawing area each time I click the button, i.e. if I click the button 10 times, I get 10 new drawing areas. Also I would like to be able to delete each drawing area as well. Any suggestions how I could do this Ta kim -- View this message in context: http://old.nabble.com/How-to-create-a-new-drawing-area-tp27416835p27416835.html Sent from the gambas-user mailing list archive at Nabble.com. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] How to create a new drawing area
Fabien Bodard-4 wrote: > > 2010/2/2 Fiddler63 : >> >> I have a button which, when clicked created a new drawing area. >> The following code does that fine (and I can move it with the mouse). >> >> PRIVATE LCD_01 AS NEW Picture >> PRIVATE LCD_02 AS NEW Picture >> >> PUBLIC SUB NewLCD_Btn_Click() >> >> LCD_01 = Picture.Load("Pix_C.png") >> LCD_02 = Picture.Load("Pix_A.png") >> DrawingArea2.X = 500 >> DrawingArea2.Y = 300 >> >> DrawingArea2.Border = 2 >> DrawingArea2.Resize(LCD_01.Width * 10, LCD_01.Height * 2) >> END >> >> PUBLIC SUB DrawingArea2_Draw() >> Draw.Picture(LCD_01, 5, 5) >> Draw.Picture(LCD_02, 43, 5) >> END >> >> PUBLIC SUB DrawingArea2_MouseMove() >> DrawingArea2.X += Mouse.X - Mouse.StartX >> DrawingArea2.Y += Mouse.Y - Mouse.StartY >> END >> '*** >> >> However when I click on the button, I get the same area drawn again >> (actually the already drawn area moves back to the origin x,y >> co-ordinates) >> I would like to create a new drawing area each time I click the button, >> i.e. >> if I click the button 10 times, I get 10 new drawing areas. >> Also I would like to be able to delete each drawing area as well. >> >> Any suggestions how I could do this >> >> Ta >> kim >> -- >> View this message in context: >> http://old.nabble.com/How-to-create-a-new-drawing-area-tp27416835p27416835.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> >> >> -- >> The Planet: dedicated and managed hosting, cloud storage, colocation >> Stay online with enterprise data centers and the best network in the >> business >> Choose flexible plans and management services without long-term contracts >> Personal 24x7 support from experience hosting pros just a phone call >> away. >> http://p.sf.net/sfu/theplanet-com >> ___ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > I think itwill be better to draw all thenumbers on the same drawing area.. > > -- > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Possibly, but i need to be able to move each drawing area independently of the others Ta Kim -- View this message in context: http://old.nabble.com/How-to-create-a-new-drawing-area-tp27416835p27430933.html Sent from the gambas-user mailing list archive at Nabble.com. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Help file download and F1
is there a way to download the help file from gambasdoc site and only the English version. I tried with WebHTTrack but the file got 60MB and i stopped it. 90% of the download stuff was irrelevant, ie a language I cannot comprehend. Also if I do get a file downloaded is there a way to get it subject sensitive from within the editior, ie highlight a word and press F1 and the help file opens with that subject. Just need to be able to have a helpfile offline. Thats all, folks -- View this message in context: http://old.nabble.com/Help-file-download-and-F1-tp27542391p27542391.html Sent from the gambas-user mailing list archive at Nabble.com. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Help file download and F1
Ubuntu 9.10, 64bit Gambas 2.19 F1 does nothing at all Kim -- View this message in context: http://old.nabble.com/Help-file-download-and-F1-tp27542391p27544327.html Sent from the gambas-user mailing list archive at Nabble.com. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Help file download and F1
Fiddler63 wrote: > > Ubuntu 9.10, 64bit > Gambas 2.19 > > F1 does nothing at all > > Kim > an F2 does not do anything either Kim -- View this message in context: http://old.nabble.com/Help-file-download-and-F1-tp27542391p27544328.html Sent from the gambas-user mailing list archive at Nabble.com. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Help file download and F1
sorry gambas package are more older on ubuntu you are using a source compiled version normally it work 2010/2/11 Fabien Bodard : > installed from packages ? > Yep, compiled the source. as far as i remember everything went well with no errors and no warnings Kim -- View this message in context: http://old.nabble.com/Help-file-download-and-F1-tp27542391p27568747.html Sent from the gambas-user mailing list archive at Nabble.com. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user