Re: [Gambas-user] Gambas 2 -> Gambas 3

2009-02-19 Thread Rolf-Werner Eilert
Benoît Minisini schrieb: > > Thanks. Now I need the result of the following commands on your (David & Ron) > system: > > $ pkg-config --cflags qt-mt > $ pkg-config --libs-only-l qt-mt > $ pkg-config --libs-only-L qt-mt > $ pkg-config --libs-only-other qt-mt > > If, of course, your qt developm

Re: [Gambas-user] Problems with Gambas 3 installation on Kubuntu

2009-02-19 Thread Ron_1st
On Friday 20 February 2009, Benoît Minisini wrote: > So, Ron, can you try to do the same thing as me: compile the latest revision, > but from scratch, by doing a full checkout in a new directory, and by > removing > everything related to Gambas 3 on your system before. > Yes, I will do as quic

[Gambas-user] Setting properties in a group

2009-02-19 Thread Anuradha Ratnaweera
Hi all, I have several buttons on a form, generated using the GUI, not though code. Say their names are "Button1", "Button2" etc - a lot of them. First, I wanted to share an event handler for all the buttons. I did this putting them all to a group called "Buttons" and using the event handler "B

[Gambas-user] Problems with Gambas 3 installation on Kubuntu

2009-02-19 Thread Benoît Minisini
For Ron (and Olivier, David and other people having problems with installing Gambas 3). I have installed a Kubuntu 8.10 on a VirtualBox VM, and I follow what is explained on the Ubuntu Gambas wiki page for installing Gambas. I used the latest revision (#1883), and everything seems to work as ex

Re: [Gambas-user] Properties in Classes

2009-02-19 Thread Benoît Minisini
> Hi All, > > As a Gambas Newbie I was wondering if there are any advantages to using > properties as opposed to get / set methods? > > Thanks for any help > > Richard The syntax is clearer. You usually use get / set methods in language that do not have properties. As for the execution time, you

Re: [Gambas-user] Monitor on/off

2009-02-19 Thread Jussi Lahtinen
Thanks! Great! Jussi On Thu, Feb 19, 2009 at 10:20 PM, Jose J. Rodriguez wrote: > On 2/19/09, Jussi Lahtinen wrote: >> >> Anyone know how to turn monitor on/off from Gambas? >> Thanks! >> > > I had this tip saved for a while now, which seems to work so far: > > > One click monitor power-down

Re: [Gambas-user] How to populate a gridview from keyboard

2009-02-19 Thread Dominique SIMONART
Benoît Minisini a écrit : >> Hi everyone, >> >> it seemed so simple that I feel a bit stupid with that question, but... >> I want to fill a gridview with text coming from the keyboard, as in a >> crossword. >> I think I've to deal with the keypress event and the key.text data, but >> how can I iden

Re: [Gambas-user] Monitor on/off

2009-02-19 Thread Jose J. Rodriguez
On 2/19/09, Jussi Lahtinen wrote: > > Anyone know how to turn monitor on/off from Gambas? > Thanks! > I had this tip saved for a while now, which seems to work so far: One click monitor power-down for Linux By Alastair Otter 19 December, 2007 If you're running a Linux-powered laptop and you

[Gambas-user] Monitor on/off

2009-02-19 Thread Jussi Lahtinen
Hi! I'm having annoying hardware problem. One thing I like to test is, are my computer freezing problems related to monitor on/off event or is it just coincidence (if not its probably video card related problem). So, I need program to turn monitor on and off within short interval. Anyone know how

Re: [Gambas-user] Gambas 2 -> Gambas 3

2009-02-19 Thread Olivier Cruilles
Benoit, Here my parameters on Fedora 10 [r...@linusky Packages]# pkg-config --cflags qt-mt -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT - D_REENTRANT -I/usr/lib/qt-3.3/include [r...@linusky Packages]# pkg-config --libs-only-l qt-mt -lqt-mt -lmng -ljpeg -lpng -lz -lXi -lXre

[Gambas-user] Properties in Classes

2009-02-19 Thread Richard Gladman
Hi All, As a Gambas Newbie I was wondering if there are any advantages to using properties as opposed to get / set methods? Thanks for any help Richard -- Quantum materiae materietur marmota monax si marmota monax materiam possit materiari? (How much wood would a woodchuck chuck if a woodchu

Re: [Gambas-user] Multiple TCP server sockets

2009-02-19 Thread Jose J. Rodriguez
On 2/19/09, Benoît Minisini wrote: > > On 2/17/09, Benoît Minisini wrote: > > > > Is there any way to get different TCP server objects with different > > > > ports to use a different socket object for read? I am trying to port > > > > my VB6 multiport communications server application to Ga

Re: [Gambas-user] Multiple TCP server sockets

2009-02-19 Thread Benoît Minisini
> On 2/17/09, Benoît Minisini wrote: > > > Is there any way to get different TCP server objects with different > > > > > > ports to use a different socket object for read? I am trying to port > > > my VB6 multiport communications server application to Gambas2 and (I > > > think) I need somethi

Re: [Gambas-user] IDE improvement

2009-02-19 Thread Jussi Lahtinen
I think this is very very low priority, but maybe istead of "Compiling project x..." there should be something like "Project x compiled!" when compiler is ready. Users who are used to vb compilation progres bar, tend to be confused about compilation time of Gambas. It really is VERY fast! Jussi

Re: [Gambas-user] Gambas 2 -> Gambas 3

2009-02-19 Thread David Villalobos Cambronero
Here is mine: [r...@david david]# pkg-config --cflags qt-mt -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3//include [r...@david david]# pkg-config --libs-only-l qt-mt -lqt-mt -lmng -ljpeg -lpng -lz -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig

Re: [Gambas-user] Multiple TCP server sockets

2009-02-19 Thread Jose J. Rodriguez
On 2/17/09, Benoît Minisini wrote: > > Is there any way to get different TCP server objects with different > > ports to use a different socket object for read? I am trying to port > > my VB6 multiport communications server application to Gambas2 and (I > > think) I need something like that to

Re: [Gambas-user] Beep in gambas

2009-02-19 Thread Joshua Higgins
I do not know of any built-in function to beep, but this produces the effect I think you want SHELL "echo -e \"\\007\" >/dev/tty10" (be careful with the backslashes around the second set of quotes, these are required for Gambas to pass on an actual quote symbol to the echo command) -- joshua hi

Re: [Gambas-user] Gambas 2 -> Gambas 3

2009-02-19 Thread Rolf-Werner Eilert
Benoît Minisini schrieb: >> Good morning Benoit (and everyone) >> >> Just came about a question: When I want to bring my Gambas2 app to >> Gambas3, will this be as roundabout as it is from Gambas1 to Gambas2? >> (Creating new forms and converting the code...) Or is it more upward >> compatible? >>

[Gambas-user] Beep in gambas

2009-02-19 Thread Anuradha Ratnaweera
Hi all, How to create a beep in Gambas, similar to the one that you get in a terminal? I am looking for a way to do it without getting the sound card involved. Thanks in advance! Anuradha -- http://www.sayura.net/anuradha/ --

Re: [Gambas-user] Gambas 2 -> Gambas 3

2009-02-19 Thread Ron_1st
On Thursday 19 February 2009, Benoît Minisini wrote: > > On Thursday 19 February 2009, Benoît Minisini wrote: > > > $ pkg-config --cflags qt-mt > > > $ pkg-config --libs-only-l qt-mt > > > $ pkg-config --libs-only-L qt-mt > > > $ pkg-config --libs-only-other qt-mt > > > > > > If, of course, your qt