Re: [Gambas-user] Gridview and Menu Event

2012-03-26 Thread Benoît Minisini
Le 26/03/2012 09:48, Bill-Lancaster a écrit :

 A right click on a row in a gridview control always returns Row=0.
 A left click produces the correct row.
 If the row is first left clicked, then right clicked the correct row value
 is returned.

 Gambas3, Ubuntu 12.04, KDE 4.8.1

It should be fixed in revision #4572.

Regards,

-- 
Benoît Minisini

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] ncurses component

2012-03-26 Thread Fabien Bodard
2012/3/25 tobi tobiasboeg...@googlemail.com:
 Benoît,

 do you think an ncurses component would be useful? i abandoned the X server 
 with the beginning of
 the year and when i noticed that i would need a console ide for gambas, i 
 began writing one (cut
 down to my personal needs of course) using ncurses library. as it went more 
 complicated i
 appended it to the long queue of to-do projects ;)
 but yesterday i realised that having an ncurses component in gambas would 
 make things a lot easier,
 the console ide could be written in gambas (what an idea!)
 on the other hand: who needs ncurses nowadays? what do you think, is it a 
 waste of time or a
 valuable addition?

 (hope, the accent works, i searched about an hour for that - and can't even 
 see the result)

 regards,
 tobi

 --
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-uiser

Yes it is a good idea :-)

So console tools can be done.


-- 
Fabien Bodard

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] ncurses component

2012-03-26 Thread Rolf-Werner Eilert

Am 25.03.2012 14:42, schrieb tobi:
 Benoît,

 do you think an ncurses component would be useful? i abandoned the X server 
 with the beginning of
 the year and when i noticed that i would need a console ide for gambas, i 
 began writing one (cut
 down to my personal needs of course) using ncurses library. as it went more 
 complicated i
 appended it to the long queue of to-do projects ;)
 but yesterday i realised that having an ncurses component in gambas would 
 make things a lot easier,
 the console ide could be written in gambas (what an idea!)
 on the other hand: who needs ncurses nowadays? what do you think, is it a 
 waste of time or a
 valuable addition?

 (hope, the accent works, i searched about an hour for that - and can't even 
 see the result)

 regards,
 tobi


The accent works :-) And I like the ncurses idea, in fact I had such an 
idea some time ago. Don't remember what I wanted to do with it, but 
after realizing the complexity, I simply wrote some routines for colours 
and stuff, the rest was purely playing around a bit. Nothing serious.

Rolf


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] ncurses component

2012-03-26 Thread tobi
On Mon, 26 Mar 2012, Rolf-Werner Eilert wrote:
 
 Am 25.03.2012 14:42, schrieb tobi:
  Benoît,
 
  do you think an ncurses component would be useful? i abandoned the X server 
  with the beginning of
  the year and when i noticed that i would need a console ide for gambas, i 
  began writing one (cut
  down to my personal needs of course) using ncurses library. as it went more 
  complicated i
  appended it to the long queue of to-do projects ;)
  but yesterday i realised that having an ncurses component in gambas would 
  make things a lot easier,
  the console ide could be written in gambas (what an idea!)
  on the other hand: who needs ncurses nowadays? what do you think, is it a 
  waste of time or a
  valuable addition?
 
  (hope, the accent works, i searched about an hour for that - and can't even 
  see the result)
 
  regards,
  tobi
 
 
 The accent works :-) And I like the ncurses idea, in fact I had such an 
 idea some time ago. Don't remember what I wanted to do with it, but 
 after realizing the complexity, I simply wrote some routines for colours 
 and stuff, the rest was purely playing around a bit. Nothing serious.
 
 Rolf
 

well, i'd volunteer but i can't estimate any time needed for a basically usable 
result.
i'm an 11th grade student so more important things may pop up in near future... 
(in case you
worry, i think (as a least instance) i'm capable of writing clean (concerning 
memory), structured
and reliable code -- but as the ncurses faq says, the library doesn't like to 
free(3) its
internal stuff for it may be needed later; unless you configure it to do so...)

as soon as i figured out how to write components for gambas using the c 
interface, i'll start
anyway...

regards,
tobi

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Delete sentance between words in a file.

2012-03-26 Thread sundar j
How do i delete a sentence/line between two matching words? For example i have 
a long paragraph starting with ABC-Start and ending with XYZ-End. I need to 
delete all the words including ABC-Start amp; XYZ-End. I have gone through the 
gambas documentation and found replace string function. However it did not do 
the job as i expected. Any help is appreciated.
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Delete sentance between words in a file.

2012-03-26 Thread Emil Lenngren
Maybe you want to use a regular expression?

2012/3/26 sundar j sundar_...@rediffmail.com

 How do i delete a sentence/line between two matching words? For example i
 have a long paragraph starting with ABC-Start and ending with XYZ-End. I
 need to delete all the words including ABC-Start amp; XYZ-End. I have gone
 through the gambas documentation and found replace string function. However
 it did not do the job as i expected. Any help is appreciated.

 --
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How to download a file?

2012-03-26 Thread abbat

I have a file on:
www.mydomain.com/test

I tried :


sSourcePath = http://mydomain; 
sCopyPath = User.Home  /Test/ 
Copy sSourcePath  test To sCopyPath  test 

but File or Directory does not exist

How to download a file?
Thanks
-- 
View this message in context: 
http://old.nabble.com/How-to-download-a-file--tp33544764p33544764.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to download a file?

2012-03-26 Thread Emil Lenngren
See here: http://gambasdoc.org/help/comp/gb.net.curl/httpclient?v3

2012/3/26 abbat abbat...@mail.ru


 I have a file on:
 www.mydomain.com/test

 I tried :


 sSourcePath = http://mydomain;
 sCopyPath = User.Home  /Test/
 Copy sSourcePath  test To sCopyPath  test

 but File or Directory does not exist

 How to download a file?
 Thanks
 --
 View this message in context:
 http://old.nabble.com/How-to-download-a-file--tp33544764p33544764.html
 Sent from the gambas-user mailing list archive at Nabble.com.



 --
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] ncurses component

2012-03-26 Thread Demosthenes Koptsis
Goodmorning to all in the list,

ncurses are very usefull for profesionals which work as admins with 
dedicated servers and want a gui style for their terminal.

when i was admin i used iptraf which is a monitoring tool writen in ncurses.

Think that monitoring tools (htop), admin tools (yast) are very usefull 
for console guys, are more faster and are the last option after a 
computer crash.

I think ncurses+gambas = Great, it would be a nice easy way to have gui 
console apps !!!

Στις 26/3/2012 18:38, ο/η tobi έγραψε:
 On Mon, 26 Mar 2012, Rolf-Werner Eilert wrote:
 Am 25.03.2012 14:42, schrieb tobi:
 Benoît,

 do you think an ncurses component would be useful? i abandoned the X server 
 with the beginning of
 the year and when i noticed that i would need a console ide for gambas, i 
 began writing one (cut
 down to my personal needs of course) using ncurses library. as it went more 
 complicated i
 appended it to the long queue of to-do projects ;)
 but yesterday i realised that having an ncurses component in gambas would 
 make things a lot easier,
 the console ide could be written in gambas (what an idea!)
 on the other hand: who needs ncurses nowadays? what do you think, is it a 
 waste of time or a
 valuable addition?

 (hope, the accent works, i searched about an hour for that - and can't even 
 see the result)

 regards,
 tobi

 The accent works :-) And I like the ncurses idea, in fact I had such an
 idea some time ago. Don't remember what I wanted to do with it, but
 after realizing the complexity, I simply wrote some routines for colours
 and stuff, the rest was purely playing around a bit. Nothing serious.

 Rolf

 well, i'd volunteer but i can't estimate any time needed for a basically 
 usable result.
 i'm an 11th grade student so more important things may pop up in near 
 future... (in case you
 worry, i think (as a least instance) i'm capable of writing clean (concerning 
 memory), structured
 and reliable code -- but as the ncurses faq says, the library doesn't like to 
 free(3) its
 internal stuff for it may be needed later; unless you configure it to do 
 so...)

 as soon as i figured out how to write components for gambas using the c 
 interface, i'll start
 anyway...

 regards,
 tobi

 --
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user