Kevin Fishburne ha scritto:
>
> In a half-drunken stupor I managed to correct the issue by trial and
> error. Hell of a miracle. Here's the abbreviated working code:
>
I think it is more dangerous to not understand why some code works,
instead of don't understanding why some code does not work
oh... until now i tried to find examples in wiki and i had forgot the
examples of Gambas3 code...
i will see them
--
Regards,
Demosthenes Koptsis.
--
Enable your software for Intel(R) Active Management Technology to
On Wed, 2011-03-30 at 01:12 +0200, Benoît Minisini wrote:
> > Please check that the Draw.FillRect uses the Background property and not
> > the FillColor property.
> >
> > is this ok?
> >
> >
> > See from previous email project99.
>
> Normally, Draw.FillRect() takes the color as its fifth argume
On 03/29/2011 06:13 PM, Laurent Carlier wrote:
> Le mardi 29 mars 2011 04:33:21, Kevin Fishburne a écrit :
>> I'm reading input from a gamepad by using code such as:
>>
>> pad_device = Exec ["cat", "/dev/input/js0"] For Read As "Gamepad"
>>
>> Public Sub Gamepad_READ()
>> ' Process the gamepad
> It seems that if you call HttpClient twice after each other with
> different urls in async mode, like in example below the _finished event
> is only called once (with the last call/url)
>
> So they are not really async/background, or is this a bug?
> Or are they overwritten, due to false usage/c
> Hi,
>
> I have an EXTERN function which returns an array of strings (char**). How
> to get this array?
>
> I just can only get the first string:
> EXTERN theFunction(params AS ...) As Pointer
> .
> Dim p as Pointer, s as String
>
> p = theFunction(...)
> s = String@(Pointer@(p))
>
> What
> Please check that the Draw.FillRect uses the Background property and not
> the FillColor property.
>
> is this ok?
>
>
> See from previous email project99.
Normally, Draw.FillRect() takes the color as its fifth argument. When not
specified, it actually uses the Background color. Do you think
> well actually before send the previous email i used that you say Matti.
>
> But drawArea.Refresh it Redraws the control.
>
> This may be call automatic the Draw.Begin and Draw.End but clears
> totally all the area and i cannot draw one rectangle and after a circle
> and then something else.
>
Le mardi 29 mars 2011 04:33:21, Kevin Fishburne a écrit :
> I'm reading input from a gamepad by using code such as:
>
> pad_device = Exec ["cat", "/dev/input/js0"] For Read As "Gamepad"
>
> Public Sub Gamepad_READ()
>' Process the gamepad input.
> End
>
> The problem is that analog stick mov
Hi,
I have an EXTERN function which returns an array of strings (char**). How to
get this array?
I just can only get the first string:
EXTERN theFunction(params AS ...) As Pointer
.
Dim p as Pointer, s as String
p = theFunction(...)
s = String@(Pointer@(p))
What to do next?
Thank you.
-
well actually before send the previous email i used that you say Matti.
But drawArea.Refresh it Redraws the control.
This may be call automatic the Draw.Begin and Draw.End but clears
totally all the area and i cannot draw one rectangle and after a circle
and then something else.
So the solution
> You don't need all those Draw.Begin and Draw.End:
>
> "A Draw.Begin on the drawing area is automatically called before raising
> the event, and the drawing is clipped to the area to be redrawn.
> Draw.End will be automatically called after the event." (Wiki)
>
> So, just do
>
> iAct = 1
> draw
Am 29.03.2011 17:44, schrieb tobias:
> hi,
> hum, i would consider open your files in a program that can print texts?
>
> regards,
> tobi
>
It would be nice, however, to have an inbuilt printing tool for Gambas
which would be able to print "more nicely" than a raw text printer.
Such a function c
hi,
hum, i would consider open your files in a program that can print texts?
regards,
tobi
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your c
Dear members of Gambas-user@lists.sourceforge.net,
I need to print out the code of my program to keep a hard copy of it,
but, when I searched all the menus I did not find a Print command.
Therefore, I ask: "How can I print my Gambas program code?". I'm using
Gambas 2 at Ubuntu 10.04 and 10.
You don't need all those Draw.Begin and Draw.End:
"A Draw.Begin on the drawing area is automatically called before raising the
event, and the drawing is clipped to the area to be redrawn.
Draw.End will be automatically called after the event." (Wiki)
So, just do
iAct = 1
drawArea.Refresh
Am 2
http://lbuchta.com/drugstore.html
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro
Yes, converting .Bind() works ok now too!
Thanks.
2011/3/29 Benoît Minisini :
>> Referring to this page http://www.gambasdoc.org/help/doc/gb2togb3?v3
>> It looks like Bind(0) calls should be converted by the IDE, but it
>> doesn't seem to be implemented.
>>
>> No Bind related code in app/src/gamb
> Hello to all.
>
> I use kde5.x with the global menu plasmoid (like mac os x), but,
> although it's compatible with all qt4 applications I use, it doesn't
> work with gambas3 IDE. There's no difference between when the menu bar
> is set do hide (the only difference is a line between title bar and
> Hi Benoit,
>
> The ability of capture a screen shot of a control seems to have gone ?? I
> use this in a number of places in my program.
>
> Regards
>
> Richard
>
It has been removed, because it is not reliable at all. Why do you need that?
--
Benoît Minisini
-
On Sun, 2011-03-27 at 17:00 +0200, Benoît Minisini wrote:
> >
> > i try to make a similar example from this page
> > http://gambasdoc.org/help/comp/gb.qt4/draw/line?v3
> >
> > in this page it says
> >
> > Draw.Begin(ME) where ME is a form.
> >
> > i get this error in my project for
> >
> > Dra
21 matches
Mail list logo