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
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
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
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
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
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,
>
>
;
> 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
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
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
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
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
> 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
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
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
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.
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
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
> 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),
> 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)
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
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"
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
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
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.
--
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
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
26 matches
Mail list logo