Re: [Gambas-user] tableview

2009-10-01 Thread nero
nero wrote:

ok , I'm investigating the problem:
- When tv is loaded all columns are 100 in size
- When I doubleclick between two column the column are resized by the 
content and get various size
- When I set tv.Columns.Width = -1 or  tv.Columns.Width = -1 all the 
columns get size 20.

I think that if setting width to -1 should have same effect of clicking 
between two column this is a bug in qt4 component.

thank's,
marco.


-- 
Un mancino si sveglia e non e' piu' mancino:
Ma...  sogno...  o son destro?.
-- Andrea Mignani



--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] packaging

2009-10-01 Thread yuhej

Hello,

I'm not very far from being able to test my first Gambas application. It
works from the IDE, also the executable on my PC.
I try to make a package to test it on a virgin ubuntu but I haven't
succeeded. I got an error message like that:
-
Creating package for Ubuntu.
Making build directory.
Creating desktop file...
Sources are being debianizated.
Creating package...
sh: fakeroot: not found
The package build has failed.
Package.MakeDebPackage.531: 'dpkg-buildpackage' has failed.
-

Is there anything misiing from my system, I made a mistake or is this a bug?
Thanks for your help.

Robi
-- 
View this message in context: 
http://www.nabble.com/packaging-tp25695659p25695659.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] packaging

2009-10-01 Thread Doriano Blengino
yuhej ha scritto:
 Hello,

 I'm not very far from being able to test my first Gambas application. It
 works from the IDE, also the executable on my PC.
 I try to make a package to test it on a virgin ubuntu but I haven't
 succeeded. I got an error message like that:
 -
 Creating package for Ubuntu.
 Making build directory.
 Creating desktop file...
 Sources are being debianizated.
 Creating package...
 sh: fakeroot: not found
 The package build has failed.
 Package.MakeDebPackage.531: 'dpkg-buildpackage' has failed.
 -

 Is there anything misiing from my system, I made a mistake or is this a bug?
 Thanks for your help.
   
Look at sh: fakeroot: not found.
This is the classical error about missing files/commands, so I think 
that you miss fakeroot.

Search the repository for a package named fakeroot or something like 
that, and install it.

I also think that the person who packaged gambas for your distribution 
(Ubuntu?) made an error, because gambas should require fakeroot.

Regards,
Doriano


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] packaging

2009-10-01 Thread Charlie Reinl
Am Donnerstag, den 01.10.2009, 02:34 -0700 schrieb yuhej:
 Hello,
 
 I'm not very far from being able to test my first Gambas application. It
 works from the IDE, also the executable on my PC.
 I try to make a package to test it on a virgin ubuntu but I haven't
 succeeded. I got an error message like that:
 -
 Creating package for Ubuntu.
 Making build directory.
 Creating desktop file...
 Sources are being debianizated.
 Creating package...
 sh: fakeroot: not found
 The package build has failed.
 Package.MakeDebPackage.531: 'dpkg-buildpackage' has failed.
 -
 
 Is there anything misiing from my system, I made a mistake or is this a bug?
 Thanks for your help.
 
 Robi

Salut Robi,

I think you have to install fakeroot


-- 
Amicalment
Charlie


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] packaging

2009-10-01 Thread Robert JUHASZ
Thanks, I'll try.

Robi

2009/10/1 Doriano Blengino doriano.bleng...@fastwebnet.it

 yuhej ha scritto:
  Hello,
 
  I'm not very far from being able to test my first Gambas application. It
  works from the IDE, also the executable on my PC.
  I try to make a package to test it on a virgin ubuntu but I haven't
  succeeded. I got an error message like that:
  -
  Creating package for Ubuntu.
  Making build directory.
  Creating desktop file...
  Sources are being debianizated.
  Creating package...
  sh: fakeroot: not found
  The package build has failed.
  Package.MakeDebPackage.531: 'dpkg-buildpackage' has failed.
  -
 
  Is there anything misiing from my system, I made a mistake or is this a
 bug?
  Thanks for your help.
 
 Look at sh: fakeroot: not found.
 This is the classical error about missing files/commands, so I think
 that you miss fakeroot.

 Search the repository for a package named fakeroot or something like
 that, and install it.

 I also think that the person who packaged gambas for your distribution
 (Ubuntu?) made an error, because gambas should require fakeroot.

 Regards,
 Doriano



 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] packaging

2009-10-01 Thread Petit Eric
yes fakeroot pkg, you could also try MonoOSC on OBS server :
http://sourceforge.net/projects/monoosc/
http://software.opensuse.org/search?baseproject=ALLp=1q=monoosc
https://build.opensuse.org/
This is the best i found to deploy my application, that solve the
dependency problem and give you the way to build package for most
distro in one click :-)

2009/10/1 Robert JUHASZ robert1juh...@gmail.com:
 Thanks, I'll try.

 Robi

 2009/10/1 Doriano Blengino doriano.bleng...@fastwebnet.it

 yuhej ha scritto:
  Hello,
 
  I'm not very far from being able to test my first Gambas application. It
  works from the IDE, also the executable on my PC.
  I try to make a package to test it on a virgin ubuntu but I haven't
  succeeded. I got an error message like that:
  -
  Creating package for Ubuntu.
  Making build directory.
  Creating desktop file...
  Sources are being debianizated.
  Creating package...
  sh: fakeroot: not found
  The package build has failed.
  Package.MakeDebPackage.531: 'dpkg-buildpackage' has failed.
  -
 
  Is there anything misiing from my system, I made a mistake or is this a
 bug?
  Thanks for your help.
 
 Look at sh: fakeroot: not found.
 This is the classical error about missing files/commands, so I think
 that you miss fakeroot.

 Search the repository for a package named fakeroot or something like
 that, and install it.

 I also think that the person who packaged gambas for your distribution
 (Ubuntu?) made an error, because gambas should require fakeroot.

 Regards,
 Doriano



 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user




-- 
Cordially.

Small Eric Quotations of the days:
---
I have no special talents. I am only passionately curious

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Make installation package ?

2009-10-01 Thread Jarkko Härmä
Moi .

If i do that, i get an error : tar 1.13 not installed. Ok i have tar 
1.19 but why a specific
version of tar ??

-Jarkko

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Make installation package ?

2009-10-01 Thread Jarkko Härmä
Benoît Minisini wrote:
 Moi .
 

 ???

   
 If i do that, i get an error : tar 1.13 not installed. Ok i have tar
 1.19 but why a specific
 version of tar ??

 -Jarkko

 

 Because Slackware requires that! But apparently it changed in the last 
 version 
 of Slackware, but I didn't update Gambas yet.

 I'm not a Slackware user, so I don't know why tar.1.13 is required.

 To workaround that, just create a symbolic link in your executable path named 
 tar-1.13 that points at your real version of 'tar'.

 Regards,

   
And then its even more tricky.. I tried to make package of the 
serial port example:

Creating package for Ubuntu.
Making build directory.
Creating desktop file...
Sources are being debianizated.
Creating package...
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: source package serialport
dpkg-buildpackage: source version 0-0
dpkg-buildpackage: source changed by benoit ben...@desnouettes
dpkg-buildpackage: host architecture i386
 debian/rules clean
dh_testdir
dh_testroot
rm -Rf `find . -name .gambas`
rm -Rf `find . -name *.gambas`
rm -f build-stamp install-stamp
dh_clean
dh_clean: Compatibility levels before 4 are deprecated.
 dpkg-source -b serialport
dpkg-source: error: source package name `SerialPort' contains illegal 
character `S'
dpkg-buildpackage: failure: dpkg-source -b serialport gave error exit 
status 255
The package build has failed.
Package.MakeDebPackage.424: 'dpkg-buildpackage' has failed.

The illegal character comes from any name

-Jarkko


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Make installation package ?

2009-10-01 Thread Benoît Minisini
 Benoît Minisini wrote:
  Moi .
 
  ???
 
  If i do that, i get an error : tar 1.13 not installed. Ok i have tar
  1.19 but why a specific
  version of tar ??
 
  -Jarkko
 
  Because Slackware requires that! But apparently it changed in the last
  version of Slackware, but I didn't update Gambas yet.
 
  I'm not a Slackware user, so I don't know why tar.1.13 is required.
 
  To workaround that, just create a symbolic link in your executable path
  named tar-1.13 that points at your real version of 'tar'.
 
  Regards,
 
 And then its even more tricky.. I tried to make package of the
 serial port example:
 
 Creating package for Ubuntu.
 Making build directory.
 Creating desktop file...
 Sources are being debianizated.
 Creating package...
 dpkg-buildpackage: set CPPFLAGS to default value:
 dpkg-buildpackage: set CFLAGS to default value: -g -O2
 dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
 dpkg-buildpackage: set FFLAGS to default value: -g -O2
 dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
 dpkg-buildpackage: source package serialport
 dpkg-buildpackage: source version 0-0
 dpkg-buildpackage: source changed by benoit ben...@desnouettes
 dpkg-buildpackage: host architecture i386
  debian/rules clean
 dh_testdir
 dh_testroot
 rm -Rf `find . -name .gambas`
 rm -Rf `find . -name *.gambas`
 rm -f build-stamp install-stamp
 dh_clean
 dh_clean: Compatibility levels before 4 are deprecated.
  dpkg-source -b serialport
 dpkg-source: error: source package name `SerialPort' contains illegal
 character `S'
 dpkg-buildpackage: failure: dpkg-source -b serialport gave error exit
 status 255
 The package build has failed.
 Package.MakeDebPackage.424: 'dpkg-buildpackage' has failed.
 
 The illegal character comes from any name
 
 -Jarkko
 

Which version of gambas do you use?

-- 
Benoît Minisini

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Make installation package ?

2009-10-01 Thread Jarkko Härmä
Benoît Minisini wrote:
 Benoît Minisini wrote:
 
 Moi .
 
 ???

   
 If i do that, i get an error : tar 1.13 not installed. Ok i have tar
 1.19 but why a specific
 version of tar ??

 -Jarkko
 
 Because Slackware requires that! But apparently it changed in the last
 version of Slackware, but I didn't update Gambas yet.

 I'm not a Slackware user, so I don't know why tar.1.13 is required.

 To workaround that, just create a symbolic link in your executable path
 named tar-1.13 that points at your real version of 'tar'.

 Regards,
   
 And then its even more tricky.. I tried to make package of the
 serial port example:

 Creating package for Ubuntu.
 Making build directory.
 Creating desktop file...
 Sources are being debianizated.
 Creating package...
 dpkg-buildpackage: set CPPFLAGS to default value:
 dpkg-buildpackage: set CFLAGS to default value: -g -O2
 dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
 dpkg-buildpackage: set FFLAGS to default value: -g -O2
 dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
 dpkg-buildpackage: source package serialport
 dpkg-buildpackage: source version 0-0
 dpkg-buildpackage: source changed by benoit ben...@desnouettes
 dpkg-buildpackage: host architecture i386
  debian/rules clean
 dh_testdir
 dh_testroot
 rm -Rf `find . -name .gambas`
 rm -Rf `find . -name *.gambas`
 rm -f build-stamp install-stamp
 dh_clean
 dh_clean: Compatibility levels before 4 are deprecated.
  dpkg-source -b serialport
 dpkg-source: error: source package name `SerialPort' contains illegal
 character `S'
 dpkg-buildpackage: failure: dpkg-source -b serialport gave error exit
 status 255
 The package build has failed.
 Package.MakeDebPackage.424: 'dpkg-buildpackage' has failed.

 The illegal character comes from any name

 -Jarkko

 

 Which version of gambas do you use?

   
Oh yes, this seems to veeery old 2.13.1 . The ubuntu people dont seem to 
be upgrading

-Jarkko

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Make installation package - Benoit please read it ?

2009-10-01 Thread Stefano Palmeri
Il giovedì 1 ottobre 2009 15:19:44 Jarkko Härmä ha scritto:
 Moi .

 If i do that, i get an error : tar 1.13 not installed. Ok i have tar
 1.19 but why a specific
 version of tar ??

 -Jarkko


Tar 1.13 is needed by Slackware packages manager. It means
that i you use a different version of tar to create a slackware package,
you could have some problem when installing the package
on a Slackware system. Detailed reasons are explained here:

ftp://elektroni.phys.tut.fi/slackware-13.0/source/a/tar/tar.SlackBuild

If you want to install tar 1.13 here's the source:

ftp://elektroni.phys.tut.fi/slackware-13.0/source/a/tar

Be carefull to not overwrite your original tar.

@ Benoit tar-1.13 is still required in last Slackware 13.0
so you don't need to change anything on Gambas2 packaging system 
for Slackware.

Stefano




 ---
--- Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user



--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] SetFocus problem

2009-10-01 Thread Jussi Lahtinen
Hi!
How can I show form without losting focus of current form?
I tried this:

Dim formi As New Form1

formi.Show()
FMain.SetFocus()

But it doesn't work...

Gambas 3 revision 2368
Both Qt3 and GTK+
@Ubuntu 9.04 64bit

These problems confirmed with current version:
http://www.nabble.com/Stack-backtrace-window-td25668875.html
http://www.nabble.com/UI-controls-copy-paste-problem.-td25669932.html


Jussi

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gambase and modbus

2009-10-01 Thread Jean-Yves F. Barbier
Hi folks,

Does anybody have experience (and code) of ModBus driven by Gambas?

JY
-- 
 Overfiend well, excellent.  I get to tear someone a new asshole.
-- in #debian-devel

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] print

2009-10-01 Thread Steven James Drinnan
Nothing quite that simple but easy enough, try this

SUB PrintForm()
  
  'Prints a form
  
  DIM myformPic AS Picture
  DIM size AS INTEGER


  myformPic = ME.Grab()
  size = 5 '5 times the size otherwise picture is to small.
  myformPic = myformPic.Image.Stretch(ME.W * size, ME.H * size).Picture 
  
  
  IF printer.setup() THEN RETURN 'sets up the printer
  
  
  
  
  Draw.Begin(PRINTER)
Draw.Picture(myformPic, 20, 20)
  Draw.End
  
  
  
  
END

Need QT and QT ext components enabled.


On Thu, 2009-10-01 at 18:40 -0700, yuhej wrote:
 Hello,
 
 Is there an easy way to print out an entire form? (Like in VB the
 Form1.Print).
 
 Thanks,
 
 Robi


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user