Re: [Gambas-user] Mutiple mouse pointers

2009-10-22 Thread Steven James Drinnan
On Thu, 2009-10-22 at 15:53 +0200, Benoît Minisini wrote:
> > Hi,
> > 
> > Here is interesting thing, I want to create a X12(mpx) aware
> > application.
> > 
> > When Fedora 12 comes out it will support X12(mpx) - multiple mouse
> > pointers and I was hoping to use Gambas to create an interactive game
> > using two mouse pointers.
> > 
> > Is there any plans in Gambas 3 to include multiple mouse/keyboard
> > pointer support. If not any ideas how to implement it?
> > 
> > If it was it put Gambas in league of its own. Imagine the possibilities.
> > Inbuilt support for gestures etc...
> > 
> > Anyway any ideas would be grateful.
> > 
> > Steven
> > 
> 
> Gambas won't support it until the GUI toolkit will (Qt and GTK+).
> 
> Regards,
> 

Sounds good as GTK already has an Experimental MPX support
(http://live.gnome.org/GTK+/MPX)

Well I guess I have to wait.

Steven



signature.asc
Description: This is a digitally signed message part
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gambas MD5 and MySQL MD5 Do Not Match

2009-10-22 Thread briansykes

I am trying to used stored MD5 passwords in a MySQL database with Gambas2,
but with Crypt.MD5 i get numbers letters and dollar signs which is not an
MD5 sum does anyone know how to fix this? an example of what Crypt.MD5 kicks
out is this: $1$R48EQANG$.CoiiGj.gYSi399ggeQvj0 and in MYSQL it looks like
this: 0cbc6611f5540bd0809a388dc95a615b both the encrypted sums are the word
Test.  If anyone can shed some light on this it would be great.
-- 
View this message in context: 
http://www.nabble.com/Gambas-MD5-and-MySQL-MD5-Do-Not-Match-tp26020343p26020343.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] set of questions

2009-10-22 Thread Ron_1st
On Thursday 22 October 2009, Doriano Blengino wrote:
> Faysal Banna ha scritto:
> > for all those who assumed i "hijacked"  the thread and subject 
> >
> > the subject of the whole was posted by Dima (My regards to her ) about set
> > of questions and not specific to USB !
> >
> > she asked a set of questions including USB startup and also including the
> > gridview which is of my interest at the moment 
> >
> > and instead of u mumbling about Hijacking and bla bla bla u could have
> > pointed to the solution if u know it or either directed to the documentation
> > .
> > Doriano ... Could you please point to a good documentation about GridView
> > utilisation and/or TableView, besides your english is good just other people
> > need to follow threads from the beginning.
> >   
> Dear Faysal,
> I am sorry - I don't know any other good place to find documentation, 
> apart from the official docs (wiki) and the normal internet sites. To be 
> sincere, I don't even know gambas so well - perhaps when, rarely or 
> perhaps too often, I know something and I write about it, I write so 
> much that what I write can be over-estimated.
I like you writing very much. You help people where you can.

> 
> Now I must add that perhaps I am writing too much in this list, or I 
> know english too little, or both. It is the second time in a few days 
> that threads grow too much because of my messages; I will think about it.
I do not have problems with your english. May be the grammar is not right
but I think most people can follow. My grammar is also not top of the top.
It's symple not our native language.

> 
> Regards to everyone,
> Doriano
> >



Best regards to all gambas lovers,

Ron_1st

-- 

111.11 x 111.11 = 12345.678987654321

-- 
 A: Delete the text you reply on.
 Q: What to do to get my post on top?
---
 A: Because it messes up the order in which people normally read text. 
 Q: Why is top-posting such a bad thing? 
---
 A: Top-posting. 
 Q: What is the most annoying thing in e-mail? 
 

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] set of questions

2009-10-22 Thread Ron_1st
On Thursday 22 October 2009, Faysal Banna wrote:
> just other people need to follow threads from the beginning.

> Regards...  and please stay on track of events before u rush into mumbling 
> bla bla stuff
> 
> 
Do you mean Doriano with 'u rush'?
Please wake up before you write something as reply.

See my reply to Doriano just send.


just other people need to follow treads from the beginning and
reply to the relevant reply containing the subject part those people
want answers to as i.e. src/example. That way they do not cry 'no no no'

Best regards,

Ron_1st

-- 


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] set of questions

2009-10-22 Thread Ron_1st
On Thursday 22 October 2009, Doriano Blengino wrote:
> Ron_1st ha scritto:
> > On Thursday 22 October 2009, Doriano Blengino wrote:
> >   
> >> Ron_1st ha scritto:
> >> 
> >>> I don't see the connection with gambas from usb stick.
> >>> Can you enligth me?
> >>>   
> >>>   
> >> The first message of the thread, "set of questions", contained a 
> >> question about launching a gambas app in a host system not having the 
> >> gambas runtime installed. Or so I think - I have already deleted the 
> >> relevant messages and now I can not check. May be I was confused... sorry.
> >>
> >> Regards,
> >> Doriano
> >>
> >> 
> >
> > It was for this message
> >
> > On Wednesday 21 October 2009, Faysal Banna wrote:
> >   
> >> what is the way to get modifying a cell inside  a grid view like
> >> u click on a cell and start writing inside it then when u click away its
> >> already modified ?
> >>
> >> regards
> >>
> >> 
> >
> > He is mumbling about a gridview in this thread and is not related to it
> > and as reply to something total different.
> > We call that hijacking the thread. :)
> > See the signature.
> >   
> Funny signature.
> Really, I didn't know what hijacking was, and even now I don't 
> understand why one would desire to hijack (in other words, where is the 
> advantage in hijacking?). Provided that there is no advantage, so nobody 
> wants to do it, if I did it I did it without awareness.

No Doriano, you didn't hijack.
Hijack is jumping in a tread with a new question and disturb the 
conversation in the current thread.
It can happen so as did in this tread to top poster had some questions.
The tread splits in top with answers to the several questions.
In this case the tread was at the point talking about the usb-stick.

In your first answer in this tread you did give answers to point 1(usb) and 
point 2(gridview)
Then Faysal did ask for some example/

A few posts before Jussi answer with his situation for the gambas install on 
usb.
Faysal jumps in and ask something [2009-10-21 12:52].
> Doriano...

> do you have a sample src package of what you have just explained ?
> can u share a simple running example with source files and forms ?

Your answer was [2009-10-21 13:38]
> can u share a simple running example with source files and forms ?
>   
> About what? I suppose about running a gambas app out of a usb stick? 
> Never tried but, if this is your request, I can try.
> ---8<---
> I played a bit, but it does not work. The path "lib/gambasX" seems to be 
> hardcoded in the gbx executable.

So  Faysal wrote [2009-10-21 13:44]
> no no sir
> i was asking about the Grid View u were explaining to Dima ...
> ---8<---

Then Jussi comes in at [2009-10-21 15:47]
He answers some questions from the TOP (Topic Opening Poster)
for Q 1, 3, 5 and 6. None of them refers to the gridview.
Here Jussi should have answered in a reply to the opening post insted this 
place.
The tread here was oriented at one of the questions, the usb case.

Now Faysal ask [2009-10-21 16:51] again about the gridview.
So I did replay [2009-10-22 09:10] as answer to Faysal.
> I don't see the connection with gambas from usb stick.
> Can you enligth me?

Doriano did answer my post [2009-10-22 09:20]
> The first message of the thread, "set of questions", contained a 
> question about launching a gambas app in a host system not having the 
> gambas runtime installed. Or so I think - I have already .
So it was clear this branch in the topic was about the usb/gambas install.

I did answer:[2009-10-22 11:13]
> He is mumbling about a gridview in this thread and is not related to it
> and as reply to something total different.
You may say I'm wrong because it is in the TOP, that is correct.
My mistake, I was following the usb/install branch and had forgotten the TOP.

IMHO Faysal should have ask his gridview case on your first answer where you
did talk about it. At that moment there was no misunderstanding as did
happen on the place he did request it [2009-10-21 12:52] where he asked for 
some src/example code.

Because at this place the answers where the usb/install related
you respond about this and not the gridview and he did answer with 'no no no'
No ringing bells at Faysal there was some misunderstanding about
the specific subjec part in discussion.

Now you replay to my second post  [2009-10-22 16:43]
folowed by Faysal to your post.
> ---8<---
> gridview which is of my interest at the moment 
>
> and instead of u mumbling about Hijacking and bla bla bla u could have
> pointed to the solution if u know it or either directed to the documentation
>---8<---
So he did attack you about mumbling. He did reply to the wrong post :)

> Doriano ... Could you please point to a good documentation about GridView
> utilisation and/or TableView, besides your english is good
I agree.

> just other people need to follow threads from the beginning.
And that is what you should do also and special pay attention to reply
to the right message. This la

Re: [Gambas-user] set of questions

2009-10-22 Thread Doriano Blengino
Faysal Banna ha scritto:
> for all those who assumed i "hijacked"  the thread and subject 
>
> the subject of the whole was posted by Dima (My regards to her ) about set
> of questions and not specific to USB !
>
> she asked a set of questions including USB startup and also including the
> gridview which is of my interest at the moment 
>
> and instead of u mumbling about Hijacking and bla bla bla u could have
> pointed to the solution if u know it or either directed to the documentation
> .
> Doriano ... Could you please point to a good documentation about GridView
> utilisation and/or TableView, besides your english is good just other people
> need to follow threads from the beginning.
>   
Dear Faysal,
I am sorry - I don't know any other good place to find documentation, 
apart from the official docs (wiki) and the normal internet sites. To be 
sincere, I don't even know gambas so well - perhaps when, rarely or 
perhaps too often, I know something and I write about it, I write so 
much that what I write can be over-estimated.

Now I must add that perhaps I am writing too much in this list, or I 
know english too little, or both. It is the second time in a few days 
that threads grow too much because of my messages; I will think about it.

Regards to everyone,
Doriano
>
>
> Regards...
> and please stay on track of events before u rush into mumbling bla bla stuff
> 
>
>
> On Thu, Oct 22, 2009 at 5:43 PM, Doriano Blengino <
> doriano.bleng...@fastwebnet.it> wrote:
>
>   
>> Ron_1st ha scritto:
>> 
>>> On Thursday 22 October 2009, Doriano Blengino wrote:
>>>
>>>   
 Ron_1st ha scritto:

 
> I don't see the connection with gambas from usb stick.
> Can you enligth me?
>
>
>   
 The first message of the thread, "set of questions", contained a
 question about launching a gambas app in a host system not having the
 gambas runtime installed. Or so I think - I have already deleted the
 relevant messages and now I can not check. May be I was confused...
 
>> sorry.
>> 
 Regards,
 Doriano


 
>>> It was for this message
>>>
>>> On Wednesday 21 October 2009, Faysal Banna wrote:
>>>
>>>   
 what is the way to get modifying a cell inside  a grid view like
 u click on a cell and start writing inside it then when u click away its
 already modified ?

 regards


 
>>> He is mumbling about a gridview in this thread and is not related to it
>>> and as reply to something total different.
>>> We call that hijacking the thread. :)
>>> See the signature.
>>>
>>>   
>> Funny signature.
>> Really, I didn't know what hijacking was, and even now I don't
>> understand why one would desire to hijack (in other words, where is the
>> advantage in hijacking?). Provided that there is no advantage, so nobody
>> wants to do it, if I did it I did it without awareness.
>>
>> The start of the thread, posted by user "Dima", where I replied is
>> (citation):
>> 
>>> I want to run my gambas2-application from USB-FLASH-DISK on the
>>>   
 computers, that do not have gambas2 installed.

 
>> followed by a numbered list of other questions. I replied to a few. The
>> most important was about the Data event.
>>
>> Then someone else, Faysal Banna, asked about "what I replied to Dima",
>> without specifying more. I assumed he was talking about usb flash disk,
>> because the other argument is already explained in the docs. Banna
>> replied "no no, it was about editing cells". But what he really wrote is
>> (citation):
>>
>> 
>>> no no sir
>>>   
>>> i was asking about the Grid View u were explaining to Dima ...
>>> besides i care to know a bit more about in place editing of cells
>>>   
>> inside
>> 
>> Now, for my poor english, I suppose the adjective "besides" acts as a
>> junction between two predicates. So he wanted to know about gridview,
>> and *besides*, something about editing of cells. Is it clear to you? For
>> me, just not enough... :-)
>>
>> I did the best I could do about the Data event: I posted the good source
>> provided by another user on the same thread. And I simply ignored the
>> phrase following that "besides".
>>
>> I write this full explanation (sorry) because I feel a little flamed. If
>> you can, and if you want, go to see the whole thread on gambas-user. It
>> started with a "set of question", and just now Benoit is replying "you
>> should have been make a thread for each question" to the poster. Then
>> someone else (Banna) wrote something not clear to me, and even changed
>> topic. Lastly, you teach to me that I am hijacking! :-) Better for me to
>> take some course about computers... I like them but I don't understand
>> them; and while I'm at it, an english course too... :-)
>>
>> Regards,
>> Doriano
>>
>>
>>
>> -

Re: [Gambas-user] set of questions

2009-10-22 Thread Faysal Banna
for all those who assumed i "hijacked"  the thread and subject 

the subject of the whole was posted by Dima (My regards to her ) about set
of questions and not specific to USB !

she asked a set of questions including USB startup and also including the
gridview which is of my interest at the moment 

and instead of u mumbling about Hijacking and bla bla bla u could have
pointed to the solution if u know it or either directed to the documentation
.
Doriano ... Could you please point to a good documentation about GridView
utilisation and/or TableView, besides your english is good just other people
need to follow threads from the beginning.



Regards...
and please stay on track of events before u rush into mumbling bla bla stuff



On Thu, Oct 22, 2009 at 5:43 PM, Doriano Blengino <
doriano.bleng...@fastwebnet.it> wrote:

> Ron_1st ha scritto:
> > On Thursday 22 October 2009, Doriano Blengino wrote:
> >
> >> Ron_1st ha scritto:
> >>
> >>> I don't see the connection with gambas from usb stick.
> >>> Can you enligth me?
> >>>
> >>>
> >> The first message of the thread, "set of questions", contained a
> >> question about launching a gambas app in a host system not having the
> >> gambas runtime installed. Or so I think - I have already deleted the
> >> relevant messages and now I can not check. May be I was confused...
> sorry.
> >>
> >> Regards,
> >> Doriano
> >>
> >>
> >
> > It was for this message
> >
> > On Wednesday 21 October 2009, Faysal Banna wrote:
> >
> >> what is the way to get modifying a cell inside  a grid view like
> >> u click on a cell and start writing inside it then when u click away its
> >> already modified ?
> >>
> >> regards
> >>
> >>
> >
> > He is mumbling about a gridview in this thread and is not related to it
> > and as reply to something total different.
> > We call that hijacking the thread. :)
> > See the signature.
> >
> Funny signature.
> Really, I didn't know what hijacking was, and even now I don't
> understand why one would desire to hijack (in other words, where is the
> advantage in hijacking?). Provided that there is no advantage, so nobody
> wants to do it, if I did it I did it without awareness.
>
> The start of the thread, posted by user "Dima", where I replied is
> (citation):
> > I want to run my gambas2-application from USB-FLASH-DISK on the
> > > computers, that do not have gambas2 installed.
> > >
> followed by a numbered list of other questions. I replied to a few. The
> most important was about the Data event.
>
> Then someone else, Faysal Banna, asked about "what I replied to Dima",
> without specifying more. I assumed he was talking about usb flash disk,
> because the other argument is already explained in the docs. Banna
> replied "no no, it was about editing cells". But what he really wrote is
> (citation):
>
> > no no sir
> > > > >> i was asking about the Grid View u were explaining to Dima ...
> > > > >> besides i care to know a bit more about in place editing of cells
> inside
> >
> Now, for my poor english, I suppose the adjective "besides" acts as a
> junction between two predicates. So he wanted to know about gridview,
> and *besides*, something about editing of cells. Is it clear to you? For
> me, just not enough... :-)
>
> I did the best I could do about the Data event: I posted the good source
> provided by another user on the same thread. And I simply ignored the
> phrase following that "besides".
>
> I write this full explanation (sorry) because I feel a little flamed. If
> you can, and if you want, go to see the whole thread on gambas-user. It
> started with a "set of question", and just now Benoit is replying "you
> should have been make a thread for each question" to the poster. Then
> someone else (Banna) wrote something not clear to me, and even changed
> topic. Lastly, you teach to me that I am hijacking! :-) Better for me to
> take some course about computers... I like them but I don't understand
> them; and while I'm at it, an english course too... :-)
>
> Regards,
> Doriano
>
>
>
> --
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 

Faysal Banna
Meteorological Services
Rafic Harriri International Airport
 Beirut - Lebanon
   Mob: +961-3-258043
=
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer even

Re: [Gambas-user] set of questions

2009-10-22 Thread Doriano Blengino
Ron_1st ha scritto:
> On Thursday 22 October 2009, Doriano Blengino wrote:
>   
>> Ron_1st ha scritto:
>> 
>>> I don't see the connection with gambas from usb stick.
>>> Can you enligth me?
>>>   
>>>   
>> The first message of the thread, "set of questions", contained a 
>> question about launching a gambas app in a host system not having the 
>> gambas runtime installed. Or so I think - I have already deleted the 
>> relevant messages and now I can not check. May be I was confused... sorry.
>>
>> Regards,
>> Doriano
>>
>> 
>
> It was for this message
>
> On Wednesday 21 October 2009, Faysal Banna wrote:
>   
>> what is the way to get modifying a cell inside  a grid view like
>> u click on a cell and start writing inside it then when u click away its
>> already modified ?
>>
>> regards
>>
>> 
>
> He is mumbling about a gridview in this thread and is not related to it
> and as reply to something total different.
> We call that hijacking the thread. :)
> See the signature.
>   
Funny signature.
Really, I didn't know what hijacking was, and even now I don't 
understand why one would desire to hijack (in other words, where is the 
advantage in hijacking?). Provided that there is no advantage, so nobody 
wants to do it, if I did it I did it without awareness.

The start of the thread, posted by user "Dima", where I replied is 
(citation):
> I want to run my gambas2-application from USB-FLASH-DISK on the
> > computers, that do not have gambas2 installed.
> > 
followed by a numbered list of other questions. I replied to a few. The 
most important was about the Data event.

Then someone else, Faysal Banna, asked about "what I replied to Dima", 
without specifying more. I assumed he was talking about usb flash disk, 
because the other argument is already explained in the docs. Banna 
replied "no no, it was about editing cells". But what he really wrote is 
(citation):

> no no sir
> > > >> i was asking about the Grid View u were explaining to Dima ...
> > > >> besides i care to know a bit more about in place editing of cells 
> > > >> inside
>   
Now, for my poor english, I suppose the adjective "besides" acts as a 
junction between two predicates. So he wanted to know about gridview, 
and *besides*, something about editing of cells. Is it clear to you? For 
me, just not enough... :-)

I did the best I could do about the Data event: I posted the good source 
provided by another user on the same thread. And I simply ignored the 
phrase following that "besides".

I write this full explanation (sorry) because I feel a little flamed. If 
you can, and if you want, go to see the whole thread on gambas-user. It 
started with a "set of question", and just now Benoit is replying "you 
should have been make a thread for each question" to the poster. Then 
someone else (Banna) wrote something not clear to me, and even changed 
topic. Lastly, you teach to me that I am hijacking! :-) Better for me to 
take some course about computers... I like them but I don't understand 
them; and while I'm at it, an english course too... :-)

Regards,
Doriano


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] set of questions

2009-10-22 Thread Benoît Minisini
> Using Gambas 2.7, Debian Lenny 32
> --
> 
> Hello!
> 

Hello!

> Main question.

I think you should have been make a thread for each question, because now we 
are lost when reading the answers!

> I want to run my gambas2-application from USB-FLASH-DISK on the
> computers, that do not have gambas2 installed.
> 
> There is a folder on my USB-FLASH-DISK with my application and
> subfolders:
> 1) "bin", includes files "gba2", "gbc2", "gbi2", "gbx2", soft links;
> 2) "lib", includes files "*.so.0.0.0", "*.component", "*.gambas", soft
> links;
> 3) "share", includes "icons/*.png", "info/*" (strange files),
> "mime/*.xml".
> It also includes bash-script for copying all above to system
> folders /usr/bin/, /usr/lib/ and /usr/share.
> 
> Can I run my application with just some command, without copying?
> 

Alas the interpreter relies on the /usr/bin/gbx2(or 3) symbolic link to know 
where Gambas is installed, so you cannot run gambas from a USB disk.

But we can imagine an environmental variable that tells where Gambas is 
installed, without relying on a symbolic link. This will solve the first 
problem.

But now you must have all shared libraries directly or indirectly used by 
Gambas on your USB disk, which may be huge. To know them, you must run "ldd" 
on each shared library of each component used by your project.

And you won't be able to run Gambas executables directly as they find the 
interpreter with "#!/usr/bin/env gbr2", but by changing the PATH variable so 
that the gbr2 symbolic link on the USB disk is found first, it will run!

I will tell you when I make the environmental variable change. His name will 
be something like GB_DIR, or GB_ROOT.

> 
> Another questions:
> 1) May I create proprietary (not open-scource) gambas2-applications and
> components for gambas2?
> 

It depends on the license of each component you use. For example, you can't if 
you use Qt3. For Qt4 I don't know...

> 2) I have the GridView in my program, that displays 4 thousands of rows.
> When it updates the data (4-10 seconds), program do not reflexes.
> There is a string in the documentation:
> "You should use the last  if you have thousands of rows to
> display.".
> I'm sorry, I do not understand this at all.
> Could anybody explain this on a simple example?

The sentence means: "You should use the Data event handler if you have 
thousands of rows to display." (I fixed it in the wiki).

Instead of explicitely setting the GridView cell contents, just write event 
handler for the "Data" event, so that data is filled on demand. The Data event 
is raised each time the GridView needs the contents of one cell.

> 
> 3) When I hide persistent Form, how to display it again?
> 

Show() ?

> 4) On my monitore with resolution "1024x768" Forms and widgets on them
> look great. But when I come to my friends with big wide monitors, some
> widgets (Buttons) became bigger while another widgets don't or not in
> such proportions. Why it happens?
> 

By default, form and control size is proportional to the height of the default 
font in pixels. If you don't want this behaviour on a form, just set the 
"(Scaled)" property to FALSE.

> 5) Can I easily convert my big project from the gambas2-project to the
> gambas3-project?
> 

Actually yes, provided you use the "Update all forms" menu entry in the IDE, 
and that you are aware of all the syntax changes.

> 6) My project uses gb.qt3, gb.qt3.ext, gb.kde, gb.kde.html components.
> Can I easily switch them to gb.qt4 and other components, when my favour
> Linux-distr Debian will be updated?

gb.qt --> gb.qt4
gb.qt.ext --> gb.qt4.ext
gb.kde --> disappear
gb.kde.html --> gb.qt4.webkit, but the syntax of the WebBrowser control 
changed.

Beware that gb.qt4 will be renamed in gb.qt, and the old gb.qt will be 
removed.

> 
> 
> Some suggestions:
> 1) In gambas2-IDE I need the "insert mode" of type, that replaces the
> next character.

Indeed. I never use it, so I didn't implement it. I will put that in my TODO 
file.

Regards,

-- 
Benoît Minisini

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Mutiple mouse pointers

2009-10-22 Thread Benoît Minisini
> Hi,
> 
> Here is interesting thing, I want to create a X12(mpx) aware
> application.
> 
> When Fedora 12 comes out it will support X12(mpx) - multiple mouse
> pointers and I was hoping to use Gambas to create an interactive game
> using two mouse pointers.
> 
> Is there any plans in Gambas 3 to include multiple mouse/keyboard
> pointer support. If not any ideas how to implement it?
> 
> If it was it put Gambas in league of its own. Imagine the possibilities.
> Inbuilt support for gestures etc...
> 
> Anyway any ideas would be grateful.
> 
> Steven
> 

Gambas won't support it until the GUI toolkit will (Qt and GTK+).

Regards,

-- 
Benoît Minisini

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] set of questions

2009-10-22 Thread Ron_1st
On Thursday 22 October 2009, Doriano Blengino wrote:
> Ron_1st ha scritto:
> >
> > I don't see the connection with gambas from usb stick.
> > Can you enligth me?
> >   
> The first message of the thread, "set of questions", contained a 
> question about launching a gambas app in a host system not having the 
> gambas runtime installed. Or so I think - I have already deleted the 
> relevant messages and now I can not check. May be I was confused... sorry.
> 
> Regards,
> Doriano
> 

It was for this message

On Wednesday 21 October 2009, Faysal Banna wrote:
> what is the way to get modifying a cell inside  a grid view like
> u click on a cell and start writing inside it then when u click away its
> already modified ?
> 
> regards
> 

He is mumbling about a gridview in this thread and is not related to it
and as reply to something total different.
We call that hijacking the thread. :)
See the signature.



Best regards,

Ron_1st

-- 
 A: Hijacking the thread from other subjects.
 Q: What is the second most annoying thing in e-mail? 
-- 
 A: Delete the text you reply on.
 Q: What to do to get my post on top?
---
 A: Because it messes up the order in which people normally read text. 
 Q: Why is top-posting such a bad thing? 
---
 A: Top-posting. 
 Q: What is the most annoying thing in e-mail? 
 

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] set of questions

2009-10-22 Thread Doriano Blengino
Ron_1st ha scritto:
>
> I don't see the connection with gambas from usb stick.
> Can you enligth me?
>   
The first message of the thread, "set of questions", contained a 
question about launching a gambas app in a host system not having the 
gambas runtime installed. Or so I think - I have already deleted the 
relevant messages and now I can not check. May be I was confused... sorry.

Regards,
Doriano

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] set of questions

2009-10-22 Thread Ron_1st
On Wednesday 21 October 2009, Faysal Banna wrote:
> what is the way to get modifying a cell inside  a grid view like
> u click on a cell and start writing inside it then when u click away its
> already modified ?
> 
> regards
> 
> On Wed, Oct 21, 2009 at 4:47 PM, Jussi Lahtinen 
> wrote:
> 
> > > 1) May I create proprietary (not open-scource) gambas2-applications and
> > > components for gambas2?
> >
> >  Yes, but Qt3 is not free for proprietary use.
> >
> >
> > > 3) When I hide persistent Form, how to display it again?
> >
> >  FromName.Show works with me..?
> >
> >
> > > 5) Can I easily convert my big project from the gambas2-project to the
> > > gambas3-project?
> >
> >  With my project it was easy.
> >  Tools menu --> Update forms.
> >  Then possibly some minor changes to code.
> >  Example Write and Read, see documentation for details.
> >
> >
> > > 6) My project uses gb.qt3, gb.qt3.ext, gb.kde, gb.kde.html components.
> > > Can I easily switch them to gb.qt4 and other components, when my favour
> > > Linux-distr Debian will be updated?
> >
> >  I think gb.qt4 is not completely ready yet. But in future you can, if
> > I have understand correctly.
> >  Qt3 <--> GTK+ works well.
> >
> >
> > Jussi
> >
> >
> >
> > On Wed, Oct 21, 2009 at 15:15, Doriano Blengino
> >  wrote:
> > > Faysal Banna ha scritto:
> > >> no no sir
> > >> i was asking about the Grid View u were explaining to Dima ...
> > >> besides i care to know a bit more about in place editing of cells inside
> > the
> > >> Grid View
> > >> just click on the cell change the value..
> > >>
> > > Uhm...
> > >
> > > I never used a Gridview in that way, I simply worked out with my words
> > > something that already is in the docs (in a very unixish fashion). I
> > > tried to explain better what the idea behind Data event is.
> > >
> > > But after that I have seen, in this thread, a complete example: I cut
> > > and paste:
> > >
> > >> Hopefully this answers question 2. It is a distillation of the database
> > >> example that comes with Gambas:
> > >>
> > >> You just need a gridview, a button called btnRun and a preferably large
> > >> database with lots of columns so that you can scroll around with ease
> > >>
> > >> '
> > >> ' Gambas class file
> > >> PUBLIC $hConnLocl AS NEW Connection
> > >> PUBLIC $resData AS Result
> > >> '
> > >> PUBLIC SUB Form_Open()
> > >>   DIM sql AS String
> > >>
> > >>   'open the database
> > >>   WITH $hConnLocl
> > >> .type = "mysql"
> > >> .host = "localhost"
> > >> .Name = "stock"
> > >> .login = "charles"
> > >> .password="dog"
> > >>   END WITH
> > >>   $hConnLocl.Open()
> > >>
> > >>   'create a result
> > >>   sql = "SELECT * FROM grnLine"
> > >>   $resData = $hConnLocl.Exec(sql)
> > >>   END
> > >> '-
> > >> PUBLIC SUB btnRun_Click()
> > >>   DIM hForm AS FRequest
> > >>   DIM hField AS ResultField
> > >>   DIM iInd AS Integer
> > >>
> > >>   GridView1.Rows.count = 0
> > >>   'set the required number of columns
> > >>   GridView1.Columns.count = $resData.Fields.Count
> > >>
> > >>   'define the column headers and width
> > >>   FOR EACH hField IN $resData.Fields
> > >> WITH hField
> > >>   GridView1.Columns[iInd].text = .Name
> > >>   GridView1.Columns[iInd].width = 60
> > >> END WITH
> > >> INC iInd
> > >>   NEXT
> > >>
> > >>   'create the empty rows. Each empty and visible cell created calls
> > >> GridView1_data
> > >>   GridView1.Rows.Count = $resData.Count
> > >> END
> > >> '-
> > >> PUBLIC SUB GridView1_Data(Row AS Integer, Column AS Integer)
> > >>   'move to the required result row
> > >>   $resData.MoveTo(row)
> > >>   'set the data for the cell in the GridView from the column in the
> > selected
> > >> row of the result
> > >>   GridView1.Data.text = Str($resData[GridView1.Columns[column].text])
> > >>   'lets you see how _data is being called as you scroll around the
> > GridView
> > >>   PRINT row & ":" & column & ":" &
> > >> Str($resData[GridView1.Columns[column].text])
> > >> END
> > >> '--
> > >>
> > > Hope this is what you need.
> > >
> > > Thanks for your nice appellation, "sir" :-), and regards.
> > > Doriano Blengino
> > >
> > >
> > >

I don't see the connection with gambas from usb stick.
Can you enligth me?


Best regards,

Ron_1st

-- 
 A: Hijacking the thread from other subjects.
 Q: What is the second most annoying thing in e-mail? 
-- 
 A: Delete the text you reply on.
 Q: What to do to get my post on top?
---
 A: Because it messes up the order in which people normally read text. 
 Q: Why is top-posting such a bad thing? 
---
 A: Top-posting. 
 Q: What is the most annoying thing in e-mail? 
 

--

Re: [Gambas-user] saving picturebox as video

2009-10-22 Thread Ron_1st
On Thursday 22 October 2009, Steven James Drinnan wrote:
> I can't really think of a way directly in gambas.
> 
> I would just use vlc to stream the file that the program creates. 
> 
> 
> Any one else got any ideas?
> 
> 
> 
> 

ffmpeg has also a feature to stream as a server


Best regards,

Ron_1st


-- 
 A: Delete the text you reply on.
 Q: What to do to get my post on top?
---
 A: Because it messes up the order in which people normally read text. 
 Q: Why is top-posting such a bad thing? 
---
 A: Top-posting. 
 Q: What is the most annoying thing in e-mail? 
 

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user