Re: [Gambas-user] Bug with IsInteger?

2010-12-18 Thread Benoît Minisini
> But with IDE console; > ? IsInteger("12 + 5.4") > True > > Jussi > Not there. Did you try to do what I asked you? Are you sure that you have compiled and installed the correct version? -- Benoît Minisini -- Lotusp

Re: [Gambas-user] Gambas 3 IDE features request

2010-12-18 Thread Benoît Minisini
> What about to do "Make code pretty" option customizable? > > Saluti. Yes. But I need to know which options define the style. -- Benoît Minisini -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to con

Re: [Gambas-user] frame control border won't display in IDE

2010-12-18 Thread Zach Smith
On Sat, Dec 18, 2010 at 12:39 PM, Fabien Bodard wrote: > kde style... certainly > Yes, running qtconfig and changing the GUI style from default to anything except GTK+ fixed the problem. Thanks. -- Lotusphere 2011 Regist

Re: [Gambas-user] Gambas 3 IDE features request

2010-12-18 Thread Fabián Flores Vadell
2010/12/18 Benoît Minisini : >> >> Hi Benoît. I know that property exists, but: >> >> >> 1) In some situations (rare I admit, but real) could be necessary >> write a setter and unnecessary write a getter, but properties are >> both: write and read or only read, there's no option to automatically >>

Re: [Gambas-user] gb3 make error again

2010-12-18 Thread Benoît Minisini
>> What is your version of qt ? > >4.5.3-2.4.2 >Is it better with the last revision? >No, 3376 doesn't work either. Same error. > Are you sure that you correctly update to 3376? There is no code anymore at the line of the error you get! -- Benoît Minisini

Re: [Gambas-user] frame control border won't display in IDE

2010-12-18 Thread Fabien Bodard
kde style... certainly 2010/12/18 Zach Smith : > While drawing a frame control on a form the border doesn't show even > though the frame is created.  When I run a simple test program in the > IDE, the frame border shows with gtk but not with qt.  When I close > the program running qt I get a signa

Re: [Gambas-user] gb3 make error again

2010-12-18 Thread math.e...@t-online.de
> What is your version of qt ? 4.5.3-2.4.2 Is it better with the last revision? No, 3376 doesn't work either. Same error. > >rev. 3373: make fails, the error seems to start here: > >libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DQT3_SUPPORT > > > > -DQT_SHARED -

[Gambas-user] frame control border won't display in IDE

2010-12-18 Thread Zach Smith
While drawing a frame control on a form the border doesn't show even though the frame is created. When I run a simple test program in the IDE, the frame border shows with gtk but not with qt. When I close the program running qt I get a signal #11 error but the IDE continues to run. Arch 64-bit g

Re: [Gambas-user] Bug with IsInteger?

2010-12-18 Thread Jussi Lahtinen
But with IDE console; ? IsInteger("12 + 5.4") True Jussi On Sat, Dec 18, 2010 at 19:40, Jussi Lahtinen wrote: > Now I'm on Ubuntu 10.10 64bit with Gambas 3 rev 3371. > > > LANG=C gbx3 -e 'IsInteger("12 + 5.4")' > Yields; False. > > Jussi > > > > 2010/12/18 Benoît Minisini > > > ? IsInteger("12

Re: [Gambas-user] Bug with IsInteger?

2010-12-18 Thread Jussi Lahtinen
Now I'm on Ubuntu 10.10 64bit with Gambas 3 rev 3371. LANG=C gbx3 -e 'IsInteger("12 + 5.4")' Yields; False. Jussi 2010/12/18 Benoît Minisini > > ? IsInteger("12 + 5.4") > > True > > > > Gambas 3 rev 3371 @ Ubuntu 10.04 64bit > > > > Jussi > > I get False there. > > 1) Try to run that: > > $

Re: [Gambas-user] Bug with IsInteger?

2010-12-18 Thread Benoît Minisini
> ? IsInteger("12 + 5.4") > True > > Gambas 3 rev 3371 @ Ubuntu 10.04 64bit > > Jussi I get False there. 1) Try to run that: $ LANG=C gbx3 -e 'IsInteger("12 + 5.4")' 2) Ensure that you compiled, installed, and run the correct version. Regards, -- Benoît Minisini --

Re: [Gambas-user] Gambas 3 IDE features request

2010-12-18 Thread Benoît Minisini
> 2010/12/18 Benoît Minisini : > > I think that already exists: it's named "Property". :-) > > > > -- > > Benoît Minisini > > Hi Benoît. I know that property exists, but: > > > 1) In some situations (rare I admit, but real) could be necessary > write a setter and unnecessary write a getter, but

Re: [Gambas-user] Gambas 3 IDE features request

2010-12-18 Thread Fabián Flores Vadell
2010/12/18 Benoît Minisini : > > I think that already exists: it's named "Property". :-) > > -- > Benoît Minisini Hi Benoît. I know that property exists, but: 1) In some situations (rare I admit, but real) could be necessary write a setter and unnecessary write a getter, but properties are both:

Re: [Gambas-user] How to get grid view cell / Icon view item by the position of mouse click

2010-12-18 Thread Benoît Minisini
> yes it's true ... not item property neither in gb3 > Yes. I don't understand what I did...I don't drink nevertheless! Hopefully, you can use the RowAt() and ColumnAt() method successively to do the same job. Regards, -- Benoît Minisini -

Re: [Gambas-user] How to get grid view cell / Icon view item by the position of mouse click

2010-12-18 Thread Fabien Bodard
yes it's true ... not item property neither in gb3 2010/12/18 Phạm Quang Dương : > Hi, > > 1. From Wiki: > *GridView.Find* > > Finds a cell from mouse coordinates relative to the control. > > This function returns TRUE if no cell > is found. Otherwise, the fou

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

2010-12-18 Thread Jussi Lahtinen
It is easier to help if you send your whole project. I can't see any handling for CatProcess. Jussi On Sat, Dec 18, 2010 at 02:11, firman wrote: > > > I Almost done my project about monitoring camera using webcam with gambas > 3... the picture or streaming video can displayed on picturebox but

Re: [Gambas-user] Preprocessor in the Gambas 3 compiler

2010-12-18 Thread Jussi Lahtinen
Nice! But now I have to consider doing only one version that handles both 32 and 64 bit architecture... Jussi 2010/12/18 Benoît Minisini > > The "#If" test is a *preprocessor expression* that compare a > *preprocessor > > ---> "compares". > > -- > Benoît Minisini > > >

Re: [Gambas-user] Preprocessor in the Gambas 3 compiler

2010-12-18 Thread Benoît Minisini
> The "#If" test is a *preprocessor expression* that compare a *preprocessor ---> "compares". -- Benoît Minisini -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collabora

[Gambas-user] How to get grid view cell / Icon view item by the position of mouse click

2010-12-18 Thread Phạm Quang Dương
Hi, 1. From Wiki: *GridView.Find* Finds a cell from mouse coordinates relative to the control. This function returns TRUE if no cell is found. Otherwise, the found cell is accessible from the Itemproperty.

Re: [Gambas-user] Gambas 3 IDE features request

2010-12-18 Thread Benoît Minisini
> 2010/12/17 Fabián Flores Vadell : > > Hi. There are two features I beleave could be fine in Gambas 3 IDE: > > > > 1. Add an option named "create getters and setters" (or similar) to > > the context menu in the code editor, so the IDE can take care of this > > boring work. A simple comment can de

[Gambas-user] Preprocessor in the Gambas 3 compiler

2010-12-18 Thread Benoît Minisini
Hi, I have just implemented a rudimentary, but useful, preprocessor in the Gambas 3 compiler. Preprocessor commands are lines that begin with a '#' in the source code. The indentation spaces are ignored. You can put comments at the end of a preprocessor line. the preprocessor only understands

Re: [Gambas-user] Gambas 3 IDE features request

2010-12-18 Thread Fabián Flores Vadell
2010/12/17 Fabián Flores Vadell : > Hi. There are two features I beleave could be fine in Gambas 3 IDE: > > 1. Add an option named "create getters and setters" (or similar) to > the context menu in the code editor, so the IDE can take care of this > boring work. A simple comment can define attribut

Re: [Gambas-user] painting graph to image continuously

2010-12-18 Thread wally
On Saturday 18 December 2010 14:44:22 Fabien Bodard wrote: > ok wally this is the full demo of what you want to do, and what you > need to do for that. I use like often in gambas > a data/view model ... the drawingarea is just a viewer for the data > and the _draw event contain the rules do draw th

Re: [Gambas-user] gb3 make error again

2010-12-18 Thread Benoît Minisini
> >rev. 3373: make fails, the error seems to start here: > >libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DQT3_SUPPORT > > > > -DQT_SHARED -DQT3_SUPPORT-I/usr/include/QtCore > > -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include/QtNetwork > > -I/usr/include/QtSql -I/u

Re: [Gambas-user] Gambas2 IDE Snap to Grid Question

2010-12-18 Thread Benoît Minisini
> Yes, I do mean the SHIFT key. > I am using 2.9 > When do you expect to begin not supporting 2 anymore? > -Fernando > Why do you ask that if you don't use the latest version? -- Benoît Minisini -- Lotusphere 2011 Regi

Re: [Gambas-user] gb3 make error again

2010-12-18 Thread Benoît Minisini
>rev. 3373: make fails, the error seems to start here: >libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DQT3_SUPPORT > -DQT_SHARED -DQT3_SUPPORT-I/usr/include/QtCore > -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include/QtNetwork > -I/usr/include/QtSql -I/usr/inclu

Re: [Gambas-user] painting graph to image continuously

2010-12-18 Thread Fabien Bodard
ok wally this is the full demo of what you want to do, and what you need to do for that. I use like often in gambas a data/view model ... the drawingarea is just a viewer for the data and the _draw event contain the rules do draw the datas. The datas are stored in an array $aDatas. The Timer emula

Re: [Gambas-user] What is the difference about events Show, Open

2010-12-18 Thread Demosthenes Koptsis
Thanks for the reply! On Fri, 2010-12-17 at 10:34 +0100, Ricardo Díaz Martín wrote: > Open is fired only the first time you show a form. In the other hand, Show > event is fired for example if you use 2 virtual desktops and change from one > to other and change again to the desktop you got the for

Re: [Gambas-user] What has happened to ValueBox

2010-12-18 Thread Michael
Benoit, Here is more information to help you rewrite the valuebox. I had a ValueBox set to date and it was in a VBox. If I set the "Expand" property to TRUE then I could never see the text. If I set Expand to False then it was ok. I experimented with resizing the form and found that the text wa

Re: [Gambas-user] painting graph to image continuously

2010-12-18 Thread Fabien Bodard
> Fabian, > > yes, you are right, this may be a problem. > I will try to collect the data as short as possible in a data-array > and display always only the graph of a segment of this array. > Your DemoGraph was helpful to see how the _draw event is > used and i'll try this way too. > But for now i

Re: [Gambas-user] painting graph to image continuously

2010-12-18 Thread wally
On Friday 17 December 2010 23:36:37 Fabien Bodard wrote: > 2010/12/17 wally : > > On Friday 17 December 2010 11:14:49 Benoît Minisini wrote: > >> > Benoit, > >> > > >> > i sent already, but maybe attachments has been rejected. > >> > > >> > The code below creates 1 circle. After resizing in GB3 i g