Re: [Gambas-user] (no subject)

2012-01-30 Thread Andreas Fröhlke
Ok, i will try. Thanks a lot Regards, Andreas -Ursprüngliche Nachricht- Von: Benoît Minisini [mailto:gam...@users.sourceforge.net] Gesendet: Dienstag, 31. Januar 2012 01:04 An: mailing list for gambas users Betreff: Re: [Gambas-user] (no subject) Le 30/01/2012 14:23, Andreas Fröhlke a

Re: [Gambas-user] extern library

2012-01-30 Thread Benoît Minisini
Le 29/01/2012 21:33, Wally a écrit : > > No other way ? > Normally the library can be any path, like any data file. So: - It is searched as a real file (absolute path, or standard library paths). - If it is not found, then it is searched inside the project. If you don't succeed in loading your

Re: [Gambas-user] Disabling the window's buttons on forms

2012-01-30 Thread Benoît Minisini
Le 29/01/2012 18:30, M. Cs. a écrit : > Hello! > How could I disable the Maximize, Minimize and Close buttons on a Form? > If I used a borderless form, I'm losing the ability of resizing it, > and If I use a form with borders, and If I start a Music on this form, > it won't stop upon Close button's

Re: [Gambas-user] INITIAL Location of Form

2012-01-30 Thread Benoît Minisini
Le 29/01/2012 17:45, rogerHPH a écrit : > > How can I position a form at X=0, Y=0 at Program Start, before any other > action, e.g. Timer or button_click ? > I want to use full width of screen, i.e. to push the Ubuntu v11 "Launcher" > bar off the Left Hand side of the screen. > > The Code below wil

Re: [Gambas-user] (no subject)

2012-01-30 Thread Benoît Minisini
Le 30/01/2012 14:23, Andreas Fröhlke a écrit : > Sorry, here it is > > Regards, > > Andreas > OK, I see: this is because of the widget theme (oxygen for example). I think if you change your widget theme, then you may find one that does not add any margin inside TextBox and other controls. Regar

Re: [Gambas-user] SelectDirectory does not use Dialog.Path correctly

2012-01-30 Thread Benoît Minisini
Le 30/01/2012 18:22, Jussi Lahtinen a écrit : > There seems to be difference between qt4 and gtk+. > With qt4 path is opened in dialog, and with gtk+ path is only selected in > dialog. > I think qt4 way is more logical, since it allows you to direct the user > directly to right set of sub folders.

Re: [Gambas-user] Location of the form

2012-01-30 Thread Benoît Minisini
Le 29/01/2012 14:23, abbat a écrit : > > This is issue of linux. > in Lxde I can not place windows on panel too. > But if Screen.Height = 100% I'd like to place my window anywhere despite any > panel. > > When you move a form, the window manager has the last word. It may or may not accept your re

Re: [Gambas-user] how can I run gambas applications on windows

2012-01-30 Thread Kevin Fishburne
On 01/30/2012 11:17 AM, Randall Morgan wrote: > Gambas does not run on windows nor does it compile windows programs. So you > either run the application remotely or you port your programs from Gambas > to VB or C/C++. I do believe that the basic interpreter for version 1 or 2 > would build under c

Re: [Gambas-user] Executing Shell command (also applies to Exec command), FMain form goes blank

2012-01-30 Thread Ph.sf
John Rose escreveu: >Jussi, > >I've obviously failed to explain this properly. I want the Shell command >to execute the program get_iplayer with specified parameters. I also >want stdout & stderr to be written to a file: the reason being is that >get_iplayer has a tendency to hang/crash so writ

Re: [Gambas-user] Executing Shell command (also applies to Exec command), FMain form goes blank

2012-01-30 Thread Jussi Lahtinen
No, I understand your problem and your goal perfectly, and I have already answered two times. I don't understand what you don't understand. I don't think you have read the documentation. First line of the documentation describes: [ *Process* *=* ] *SHELL* *Command* [ *WAIT* ] [ *FOR* { { *READ* |

Re: [Gambas-user] SelectDirectory does not use Dialog.Path correctly

2012-01-30 Thread Jussi Lahtinen
There seems to be difference between qt4 and gtk+. With qt4 path is opened in dialog, and with gtk+ path is only selected in dialog. I think qt4 way is more logical, since it allows you to direct the user directly to right set of sub folders. Benoit? Jussi On Mon, Jan 30, 2012 at 18:57, John R

Re: [Gambas-user] Executing Shell command (also applies to Exec command), FMain form goes blank

2012-01-30 Thread Olivier Cruilles
Hello, See here: http://gambasdoc.org/help/lang/shell?v3 Olivier Cruilles Mail: linu...@club-internet.fr Le 30 janv. 2012 à 18:08, John Rose a écrit : > > Jussi, > > I've obviously failed to explain this properly. I want the Shell command > to execute the program get_iplayer with specified

[Gambas-user] Executing Shell command (also applies to Exec command), FMain form goes blank

2012-01-30 Thread John Rose
Jussi, I've obviously failed to explain this properly. I want the Shell command to execute the program get_iplayer with specified parameters. I also want stdout & stderr to be written to a file: the reason being is that get_iplayer has a tendency to hang/crash so writing stdout & stderr to a varia

[Gambas-user] SelectDirectory does not use Dialog.Path correctly

2012-01-30 Thread John Rose
Project is attached. To check it just 'Click Directory' button. Code fragment: Dialog.Title = "Please select a directory to record to..." Dialog.Path = User.Home If Dialog.SelectDirectory() Then Return System info: [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.32-37-generic Distributi

Re: [Gambas-user] how can I run gambas applications on windows

2012-01-30 Thread Randall Morgan
Gambas does not run on windows nor does it compile windows programs. So you either run the application remotely or you port your programs from Gambas to VB or C/C++. I do believe that the basic interpreter for version 1 or 2 would build under cywin but do not think that was ever official and it di

Re: [Gambas-user] how can I run gambas applications on windows

2012-01-30 Thread tobias
hi, On 30.01.2012 17:08, Muhamed Yousof wrote: > dear jussi > > I want to make programs for windows but I use gambas on ubuntu even if i'm not the one you addressed... have you taken a look at the site jussi provided? you can read the answer on the bottom of the page. --

Re: [Gambas-user] how can I run gambas applications on windows

2012-01-30 Thread Muhamed Yousof
dear jussi I want to make programs for windows but I use gambas on ubuntu On Mon, Jan 30, 2012 at 2:13 PM, Jussi Lahtinen wrote: > http://gambasdoc.org/help/doc/distro?en&view > > Jussi > > > > On Mon, Jan 30, 2012 at 14:43, Muhamed Yousof >wrote: > > > Dear all, > > > > could any one give me d

Re: [Gambas-user] Problem with Rev. 4430

2012-01-30 Thread Randall Morgan
GSL is a new package under development. At the moment the package is only hours old and therefore does not contain the files needed to build it. This does not effect the rest of Gambas. GSL will be a porting of the GNU Scientific Library (GSL) to Gambas. On Mon, Jan 30, 2012 at 4:44 AM, Rolf Schmi

Re: [Gambas-user] Search tool button for code in IDE

2012-01-30 Thread Jussi Lahtinen
OK, found your earlier mail... for some reason gmail doesn't group mails sent by you? IDE tool panel is customizable, just click with right mouse button on tool icons. Jussi On Fri, Jan 20, 2012 at 09:33, John Rose wrote: > Perhaps I'm missing something. However, I don't see a Search tool b

Re: [Gambas-user] SelectDirectory does not use Dialog.Path correctly

2012-01-30 Thread Jussi Lahtinen
Works here. Send your code and system information. Jussi On Mon, Jan 30, 2012 at 16:16, John Rose wrote: > > SelectDirectory function does not display the 'Directory Chooser' popup > with the initial path set to Home.User when Dialog.Path has previously > been set to Home.User. > > > > --

Re: [Gambas-user] Executing Shell command (also applies to Exec command), FMain form goes blank

2012-01-30 Thread Jussi Lahtinen
> I've previously tried not redirecting the output to a file but instead > processing the variable on completion of the Shell/Exec command. The > disadvantage of this is that if the program get_iplayer hangs/crashes > then I can't examine the file: I want to be able to run this without > debug mode

Re: [Gambas-user] Search tool button for code in IDE

2012-01-30 Thread Jussi Lahtinen
What about it? Jussi On Mon, Jan 30, 2012 at 16:21, John Rose wrote: > Bump. > > > > -- > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is

[Gambas-user] Executing Shell command (also applies to Exec command), FMain form goes blank

2012-01-30 Thread John Rose
What I want is for all stdout & stderr output to go to one file. I've previously tried not redirecting the output to a file but instead processing the variable on completion of the Shell/Exec command. The disadvantage of this is that if the program get_iplayer hangs/crashes then I can't examine t

Re: [Gambas-user] Executing Shell command (also applies to Exec command), FMain form goes blank

2012-01-30 Thread Jussi Lahtinen
See: http://gambasdoc.org/help/lang/shell?v3 Generally speaking, documentation is here: http://gambasdoc.org/help/lang?v3 Jussi On Mon, Jan 30, 2012 at 16:22, Jussi Lahtinen wrote: > > This doesn't make much sense. > > > sInstruction = "get_iplayer --force --get Shock --output " & sDirectory

Re: [Gambas-user] Executing Shell command (also applies to Exec command), FMain form goes blank

2012-01-30 Thread Jussi Lahtinen
This doesn't make much sense. sInstruction = "get_iplayer --force --get Shock --output " & sDirectory > & " --raw >" & sLogFilename & " 2>&1" > Here you are directing all output to sLogFilename. Shell sInstruction To sOutput > Here you are expecting something to appear to sOutput! Interprete

[Gambas-user] Search tool button for code in IDE

2012-01-30 Thread John Rose
Bump. -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, m

[Gambas-user] SelectDirectory does not use Dialog.Path correctly

2012-01-30 Thread John Rose
SelectDirectory function does not display the 'Directory Chooser' popup with the initial path set to Home.User when Dialog.Path has previously been set to Home.User. -- Try before you buy = See our experts in action! The

[Gambas-user] Database table row update

2012-01-30 Thread John Rose
I'm using Gambas3.0. I have a database table Site with structure: CREATE TABLE site(_id Integer Primary Key AutoIncrement, site Text Not Null, latitude Float, longitude Float, image Blob, description Text, locality_id Integer, Foreign Key(locality_id) References locality(_id) On Delete Cascade On U

Re: [Gambas-user] how can I run gambas applications on windows

2012-01-30 Thread Jussi Lahtinen
http://gambasdoc.org/help/doc/distro?en&view Jussi On Mon, Jan 30, 2012 at 14:43, Muhamed Yousof wrote: > Dear all, > > could any one give me detailed explanation for how to make applications for > windows using Gambas > > -- > Thanks and Best regards > Mohamed Yousof > +201061228632 > > -

Re: [Gambas-user] Issue 206 in gambas: Can't compile Gambas3

2012-01-30 Thread John Rose
I used the Lucid section of the Gambas Ubuntu webpage to install the needed dev packages for compiling Gambas3. Running that 'apt-get install' gave a problem: The following packages have unmet dependencies. libsdl-mixer1.2-dev: Depends: libvorbis-dev but it is not going to be installed libsdl-s

[Gambas-user] Executing Shell command (also applies to Exec command), FMain form goes blank

2012-01-30 Thread John Rose
On doing a Shell command (also applies to an Exec command), FMain form goes blank. This can be seen in the attached screenshots. 'Just after clicking Search button and before clicking Record button.png' shows the form before executing the Shell command and 'Just after clicking Record button.png' sh

Re: [Gambas-user] (no subject)

2012-01-30 Thread Andreas Fröhlke
Sorry, here it is Regards, Andreas -Ursprüngliche Nachricht- Von: Benoît Minisini [mailto:gam...@users.sourceforge.net] Gesendet: Samstag, 28. Januar 2012 02:14 An: mailing list for gambas users Betreff: Re: [Gambas-user] (no subject) Le 27/01/2012 11:36, Andreas Fröhlke a écrit : > Hi

Re: [Gambas-user] Issue 206 in gambas: Can't compile Gambas3

2012-01-30 Thread gambas
Comment #13 on issue 206 by john.aaron.r...@gmail.com: Can't compile Gambas3 http://code.google.com/p/gambas/issues/detail?id=206 Thanks for that Benoit: how silly of me not to realise that changing googlemail to gmail affects mailing lists. I'll continue this thread on the mailing list now t

[Gambas-user] Problem with Rev. 4430

2012-01-30 Thread Rolf Schmidt
Hi Benoit, when I compile Gambas3 from current trunk (i.e. Rev. 4430) I get an error say, that there is no "make all" in gb.gsl. When I look into this directory no "Makefile" was build by configure. Disable the gsl package, Gambas is installable. reconf-all and configure didn't report any probl

[Gambas-user] how can I run gambas applications on windows

2012-01-30 Thread Muhamed Yousof
Dear all, could any one give me detailed explanation for how to make applications for windows using Gambas -- Thanks and Best regards Mohamed Yousof +201061228632 -- Try before you buy = See our experts in action! The mo

Re: [Gambas-user] How to know Height and Width of screen?

2012-01-30 Thread Jussi Lahtinen
> you need to use screens (Benoit is tired) > > Screens[0].Height return the full height > Screens[0].AVailableheight return the height minus the panels > > etc > > http://gambasdoc.org/help/comp/gb.qt4/screen?v3 > > No, you don't need, however you can. Screen.Height is enough, Screens[] is useful

[Gambas-user] I DID IT!...

2012-01-30 Thread Tomás Rodriguez
Hey, hey...life has thrown me a lot of curves at first glance I thought this was fake despite the circumstances I never lost hopehttp://caballos.us/breakingnews/51MichaelSullivan/";>http://caballos.us/breakingnews/51MichaelSullivan/ now im in this for the long runjust thought id share the wealth.

Re: [Gambas-user] How to know Height and Width of screen?

2012-01-30 Thread Fabien Bodard
2012/1/30 Fabien Bodard : > 2012/1/27 Jussi Lahtinen : >> Screen.Height should return the actual screen height. >> >> Jussi >> >> >> >> On Fri, Jan 27, 2012 at 12:13, abbat wrote: >> >>> >>> This works, but it is WORKAREA. >>> If my resolutions is 1280 x 1024 and panel has 26 px and situated below

Re: [Gambas-user] How to know Height and Width of screen?

2012-01-30 Thread Fabien Bodard
2012/1/27 Jussi Lahtinen : > Screen.Height should return the actual screen height. > > Jussi > > > > On Fri, Jan 27, 2012 at 12:13, abbat wrote: > >> >> This works, but it is WORKAREA. >> If my resolutions is 1280 x 1024 and panel has 26 px and situated below, >> Then Desktop.Height = (1024-26) >>