Re: [Gambas-user] Spelling error in textedit docs

2010-12-27 Thread richard terry
On Tuesday 28 December 2010 13:18:43 Benoît Minisini wrote: > > TextEdit.RichText (gb.qt4.ext) > > PROPERTY RichText AS String > > Returns or sets the rich text displayed in the control, i.e. the text > > ***will*** all the markups. > > > > should be 'with' > > > > Regards > > > > richard > > Funn

Re: [Gambas-user] Tooltip over icons in IDE toolbox

2010-12-27 Thread richard terry
On Tuesday 28 December 2010 10:04:09 Benoît Minisini wrote: > > Hi benoit, > > > > Wonder if it would be possible to put back the tooltips over the icons on > > the tabs in the toolbox - it can be hard to remember which icon = which > > control eg for lists/columnviews/grids/tableview. > > > > Rega

Re: [Gambas-user] problem with Key.Code and form focus

2010-12-27 Thread Benoît Minisini
> On Fri, Dec 24, 2010 at 7:14 PM, zachsmith...@gmail.com wrote: > > I'm having trouble having keypresses detected on a form. Sample code > > attached. > > Can someone please test this? > Any feedback would be appreciated. > Hey, it was Christmas. :-) I confirm the problems: - Windows with no

Re: [Gambas-user] Drag and Drop

2010-12-27 Thread Dag-Jarle Johansen
Hi Benoît, Ok, Still it would be nice to find out how that works. It's such a long time since I have done such things, I'll have to start all over again, and then better do it right. Regards, Dag-Jarle 2010/12/27 Benoît Minisini > > Hi all, > > > > I have done it before, but just forgot it (an

Re: [Gambas-user] Drag and Drop

2010-12-27 Thread Benoît Minisini
> Hi all, > > I have done it before, but just forgot it (and can't find any appropriate > samples) > At the moment using Gambas 2.19 shipped with Ubuntu 10.04, Gnome > > I have a container which I would like to move around on the form with the > mouse, and can't figure out how I can do that. > Do

Re: [Gambas-user] Spelling error in textedit docs

2010-12-27 Thread Benoît Minisini
> TextEdit.RichText (gb.qt4.ext) > PROPERTY RichText AS String > Returns or sets the rich text displayed in the control, i.e. the text > ***will*** all the markups. > > should be 'with' > > Regards > > richard > Funny, because gb.qt4.ext TextEdit is not yet documented in the wiki. :-? -- Ben

[Gambas-user] Drag and Drop

2010-12-27 Thread Dag-Jarle Johansen
Hi all, I have done it before, but just forgot it (and can't find any appropriate samples) At the moment using Gambas 2.19 shipped with Ubuntu 10.04, Gnome I have a container which I would like to move around on the form with the mouse, and can't figure out how I can do that. Does anyone have a s

[Gambas-user] Spelling error in textedit docs

2010-12-27 Thread richard terry
TextEdit.RichText (gb.qt4.ext) PROPERTY RichText AS String Returns or sets the rich text displayed in the control, i.e. the text ***will*** all the markups. should be 'with' Regards richard -- Learn how Oracle Real Ap

Re: [Gambas-user] problem with Key.Code and form focus

2010-12-27 Thread Zach Smith
On Fri, Dec 24, 2010 at 7:14 PM, zachsmith...@gmail.com wrote: > I'm having trouble having keypresses detected on a form. Sample code > attached. > Can someone please test this? Any feedback would be appreciated. -- Learn

Re: [Gambas-user] Tooltip over icons in IDE toolbox

2010-12-27 Thread Benoît Minisini
> Hi benoit, > > Wonder if it would be possible to put back the tooltips over the icons on > the tabs in the toolbox - it can be hard to remember which icon = which > control eg for lists/columnviews/grids/tableview. > > Regards > > richard > I've never removed them. Are you sure that tooltips

[Gambas-user] Tooltip over icons in IDE toolbox

2010-12-27 Thread richard terry
Hi benoit, Wonder if it would be possible to put back the tooltips over the icons on the tabs in the toolbox - it can be hard to remember which icon = which control eg for lists/columnviews/grids/tableview. Regards richard --

Re: [Gambas-user] hProcess is NULL

2010-12-27 Thread Demosthenes Koptsis
Thank you guys for the help. On Mon, 2010-12-27 at 23:38 +1100, Ian Haywood wrote: > On Mon, Dec 27, 2010 at 10:00 PM, Demosthenes Koptsis > wrote: > > > hProcess1 = SHELL sCommand FOR INPUT AS "AntiVirRun" > > WHILE (hProcess1.Running) > > WAIT 10 > > WEND > This does work but is slow, pote

Re: [Gambas-user] Command line gambas compiler

2010-12-27 Thread Fabien Bodard
Le 27 décembre 2010 12:59, Benoît Minisini a écrit : >> 2010/12/27 Ian Roper : >> > Apologies if this is a double post - have been having trouble posting >> > things to the forum. >> > >> > Question: >> > Is there a way to compile a Gambas project from a command line ? >> > ie: The  Project > Make

Re: [Gambas-user] hProcess is NULL

2010-12-27 Thread Ian Haywood
On Mon, Dec 27, 2010 at 10:00 PM, Demosthenes Koptsis wrote: >  hProcess1 = SHELL sCommand FOR INPUT AS "AntiVirRun" >  WHILE (hProcess1.Running) >  WAIT 10 >  WEND This does work but is slow, potentially pointless wait of nine seconds at the end. Instead you could split this function into two:

Re: [Gambas-user] Command line gambas compiler

2010-12-27 Thread Benoît Minisini
> 2010/12/27 Ian Roper : > > Apologies if this is a double post - have been having trouble posting > > things to the forum. > > > > Question: > > Is there a way to compile a Gambas project from a command line ? > > ie: The Project > Make > Executable. process from the Development > > environment.

[Gambas-user] [Fwd: Re: hProcess is NULL]

2010-12-27 Thread Demosthenes Koptsis
oops Fabien you are right to complain i wanted hProcess1 = SHELL sCommand FOR INPUT AS "AntiVirRun" WHILE (hProcess1.State = hProcess1.Running) WAIT 10 WEND is it now ok? i think it is. -- Regards, Demosthenes Koptsis. --- Begin Message --- if i use SHELL sCommand to sVar i have

Re: [Gambas-user] Image to Picture

2010-12-27 Thread Fabien Bodard
2010/12/27 Shane : > On 27/12/10 22:01, Fabien Bodard wrote: >> 2010/12/27 Shane: >>> On 27/12/10 21:55, Shane wrote: On 27/12/10 21:48, Fabien Bodard wrote: > 2010/12/27 Shane: >> On 27/12/10 21:36, Fabien Bodard wrote: >>> try to add >>> >>> >>> Picturebox.Picture.Fil

Re: [Gambas-user] Image to Picture

2010-12-27 Thread Shane
On 27/12/10 22:01, Fabien Bodard wrote: > 2010/12/27 Shane: >> On 27/12/10 21:55, Shane wrote: >>> On 27/12/10 21:48, Fabien Bodard wrote: 2010/12/27 Shane: > On 27/12/10 21:36, Fabien Bodard wrote: >> try to add >> >> >> Picturebox.Picture.Fill(gb.Transparent) >> >

Re: [Gambas-user] Image to Picture

2010-12-27 Thread Fabien Bodard
2010/12/27 Shane : > On 27/12/10 21:55, Shane wrote: >> On 27/12/10 21:48, Fabien Bodard wrote: >>> 2010/12/27 Shane: On 27/12/10 21:36, Fabien Bodard wrote: > try to add > > > Picturebox.Picture.Fill(gb.Transparent) > > after setting the new picture > Tried Th

Re: [Gambas-user] hProcess is NULL

2010-12-27 Thread Demosthenes Koptsis
if i use SHELL sCommand to sVar i have to wait to complete execution of command. Right? In my case hProcess1 = SHELL sCommand FOR INPUT AS "AntiVirRun" sCommand is a scan command of an antivirus for 9000 files and more... This takes almost 10 minutes or more to be completed. i want in these

Re: [Gambas-user] Image to Picture

2010-12-27 Thread Shane
On 27/12/10 21:55, Shane wrote: > On 27/12/10 21:48, Fabien Bodard wrote: >> 2010/12/27 Shane: >>> On 27/12/10 21:36, Fabien Bodard wrote: try to add Picturebox.Picture.Fill(gb.Transparent) after setting the new picture >>> Tried This >>> >>> PictureBox1.Picture =

Re: [Gambas-user] Image to Picture

2010-12-27 Thread Shane
On 27/12/10 21:48, Fabien Bodard wrote: > 2010/12/27 Shane: >> On 27/12/10 21:36, Fabien Bodard wrote: >>> try to add >>> >>> >>> Picturebox.Picture.Fill(gb.Transparent) >>> >>> after setting the new picture >>> >> Tried This >> >> PictureBox1.Picture = New Picture(PictureBox1.w,PictureBox1.h) >> >

Re: [Gambas-user] Image to Picture

2010-12-27 Thread Fabien Bodard
2010/12/27 Shane : > On 27/12/10 21:36, Fabien Bodard wrote: >> try to add >> >> >> Picturebox.Picture.Fill(gb.Transparent) >> >> after setting the new picture >> > Tried This > > PictureBox1.Picture = New Picture(PictureBox1.w,PictureBox1.h) > > Draw.Begin(PictureBox1.Picture) > Draw.Image(myimage

Re: [Gambas-user] hProcess is NULL

2010-12-27 Thread Demosthenes Koptsis
This is a way not to continue the execution of next line codes until hProcess1 is finished and at the same time be able to process AntiVirRun_Read. Is there any other way? Everything is welcomed. On Mon, 2010-12-27 at 11:27 +0100, Fabien Bodard wrote: > 2010/12/27 Demosthenes Koptsis : > > Well

Re: [Gambas-user] Image to Picture

2010-12-27 Thread Shane
On 27/12/10 21:36, Fabien Bodard wrote: > try to add > > > Picturebox.Picture.Fill(gb.Transparent) > > after setting the new picture > Tried This PictureBox1.Picture = New Picture(PictureBox1.w,PictureBox1.h) Draw.Begin(PictureBox1.Picture) Draw.Image(myimage,(PictureBox1.w-myimage.w)/2,(PictureB

Re: [Gambas-user] Image to Picture

2010-12-27 Thread Fabien Bodard
try to add Picturebox.Picture.Fill(gb.Transparent) after setting the new picture -- Fabien Bodard -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standard

Re: [Gambas-user] hProcess is NULL

2010-12-27 Thread Fabien Bodard
Exec ["ls", "-a"] to sLig Print sLig To do what you want it's enought 2010/12/27 Fabien Bodard : > 2010/12/27 Demosthenes Koptsis : >> Well i found a way >> >> >> hProcess1 = SHELL sCommand FOR INPUT AS "AntiVirRun" >> WHILE (hProcess1.Running) >>  WAIT 10 >> WEND >> > > ?? what is tha

Re: [Gambas-user] Image to Picture

2010-12-27 Thread Shane
On 27/12/10 21:25, Shane wrote: > using Gambas 3 I'm trying to copy a image to a picturebox at a certain > location using this code > Woops Forgot I also do PictureBox1.Picture = New Picture(PictureBox1.w,PictureBox1.h) > Draw.Begin(PictureBox1.Picture) > > Draw.Image(myimage,(PictureBox1.w-myimage

Re: [Gambas-user] hProcess is NULL

2010-12-27 Thread Fabien Bodard
2010/12/27 Demosthenes Koptsis : > Well i found a way > > > hProcess1 = SHELL sCommand FOR INPUT AS "AntiVirRun" > WHILE (hProcess1.Running) >  WAIT 10 > WEND > ?? what is that ? > yes there is a reason because i want to stop execution of next lines but > i cant explain it right now. > > So

[Gambas-user] Image to Picture

2010-12-27 Thread Shane
using Gambas 3 I'm trying to copy a image to a picturebox at a certain location using this code Draw.Begin(PictureBox1.Picture) Draw.Image(myimage,(PictureBox1.w-myimage.w)/2,(PictureBox1.h-myimage.w)/2) Draw.End But All I get Is Stray Data From The Screen what Am i Doing Wrong? ---

Re: [Gambas-user] hProcess is NULL

2010-12-27 Thread Demosthenes Koptsis
Well i found a way hProcess1 = SHELL sCommand FOR INPUT AS "AntiVirRun" WHILE (hProcess1.Running) WAIT 10 WEND yes there is a reason because i want to stop execution of next lines but i cant explain it right now. So with this code i can process _Read event of process and stop execution of co

Re: [Gambas-user] hProcess is NULL

2010-12-27 Thread Ron
Not clear why you want to wait exactly, but another way is not to wait but to continue when process is finished. AntiVirRun_Kill() is called when process is finished. So you can do other things in meantime (like parsing _Read) and call the code to run from _Kill to continue. See here for some cod

Re: [Gambas-user] hProcess is NULL

2010-12-27 Thread Ian Haywood
On Mon, Dec 27, 2010 at 8:11 PM, Demosthenes Koptsis wrote: > On Mon, 2010-12-27 at 10:20 +1100, Ian Haywood wrote: >> On Mon, Dec 27, 2010 at 4:46 AM, Demosthenes Koptsis >> wrote: >> > Hello and merry Christmas, >> > >> > i have these lines of code >> > >> > --- >> >  sCommand = "/opt/a

[Gambas-user] [Fwd: Re: hProcess is NULL]

2010-12-27 Thread Demosthenes Koptsis
If i use only hProcess1 = SHELL sCommand WAIT i see in Gambas console the stdout. i try to find a way to keep hProcess1 = SHELL sCommand WAIT and read stdout as Gambas console does. -- Regards, Demosthenes Koptsis. --- Begin Message --- On Mon, 2010-12-27 at 10:20 +1100, Ian Haywood wrote: >

Re: [Gambas-user] hProcess is NULL

2010-12-27 Thread Demosthenes Koptsis
On Mon, 2010-12-27 at 10:20 +1100, Ian Haywood wrote: > On Mon, Dec 27, 2010 at 4:46 AM, Demosthenes Koptsis > wrote: > > Hello and merry Christmas, > > > > i have these lines of code > > > > --- > > sCommand = "/opt/avast4workstation-1.3.0/bin/avast -r " & > > txtVirusTempFolder.Text & "

Re: [Gambas-user] WITH and FOR EACH across emulated collections (large post)

2010-12-27 Thread Fabien Bodard
2010/12/27 Bruce Bruen : > >   Hello all, > >   (gambas 2.22) > >   I am trying to build a persistence mechanism ala Ambler to decouple the >   business logic from the persistence mechanism. I have done this > >   several times before in gambas with great success, but with the "rule" that >   a > >

Re: [Gambas-user] Command line gambas compiler

2010-12-27 Thread Fabien Bodard
2010/12/27 Ian Roper : > Apologies if this is a double post - have been having trouble posting > things to the forum. > > Question: > Is there a way to compile a Gambas project from a command line ? > ie: The  Project > Make > Executable. process from the Development > environment. yes go into th

Re: [Gambas-user] Did anyone have a script to record webcame picture in video files

2010-12-27 Thread Fabien Bodard
the problem is that i dn't really understand what you want to do Can you explaint exactly what you are trying ? and by what way 2010/12/27 firman : > > ok.. i'll try to make source archieve, i really need faster for finishing my > project, not just a record but i must try to make this progr