[Gambas-user] Mouse control and calibration

2011-04-07 Thread Fiddler63
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 the

[Gambas-user] How to generate a new frame or pic box when a button is pressed

2010-01-09 Thread Fiddler63
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-gene

Re: [Gambas-user] How to generate a new frame or pic box when a button is pressed

2010-01-10 Thread 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

Re: [Gambas-user] SOLVED - How to generate a new frame or pic box when a button is pressed

2010-01-11 Thread Fiddler63
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 Fidd

Re: [Gambas-user] Modal dialog + Balloon hangs program

2010-01-13 Thread 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 t

Re: [Gambas-user] Modal dialog + Balloon hangs program

2010-01-13 Thread Fiddler63
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, > >

Re: [Gambas-user] Modal dialog + Balloon hangs program

2010-01-13 Thread Fiddler63
; > 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

Re: [Gambas-user] Modal dialog + Balloon hangs program

2010-01-14 Thread Fiddler63
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:2

Re: [Gambas-user] problem with aligment same width (gambas3)

2010-01-16 Thread 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

[Gambas-user] Error - Signal 11 - Gambas 2.19

2010-01-16 Thread 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 -- View this message in context: http://old.nabble.com/Error---Signal-11---Ga

Re: [Gambas-user] problem with aligment same width (gambas3)

2010-01-16 Thread Fiddler63
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 >&g

Re: [Gambas-user] Error - Signal 11 - Gambas 2.19

2010-01-17 Thread 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 shou

[Gambas-user] How to move an object within a form

2010-01-18 Thread 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

Re: [Gambas-user] Error - Signal 11 - Gambas 2.19

2010-01-18 Thread Fiddler63
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]) >> >&g

Re: [Gambas-user] Error - Signal 11 - Gambas 2.19

2010-01-18 Thread Fiddler63
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.

Re: [Gambas-user] How to move an object within a form

2010-01-18 Thread Fiddler63
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, b

[Gambas-user] V2.19 closes unexpectedly

2010-01-25 Thread Fiddler63
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

Re: [Gambas-user] V2.19 closes unexpectedly

2010-01-26 Thread Fiddler63
> 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),

Re: [Gambas-user] V2.19 closes unexpectedly

2010-01-26 Thread Fiddler63
> 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-user] indexing of buttons

2010-01-26 Thread Fiddler63
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 Di

[Gambas-user] How to create a new drawing area

2010-02-02 Thread 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"

Re: [Gambas-user] How to create a new drawing area

2010-02-02 Thread Fiddler63
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

[Gambas-user] Help file download and F1

2010-02-10 Thread Fiddler63
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 subj

Re: [Gambas-user] Help file download and F1

2010-02-11 Thread Fiddler63
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. --

Re: [Gambas-user] Help file download and F1

2010-02-11 Thread Fiddler63
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

Re: [Gambas-user] Help file download and F1

2010-02-12 Thread Fiddler63
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 i