Re: [Gambas-user] form_resize issue

2010-05-14 Thread Benoît Minisini
 Hi Benoit,
 
 I put together the small project with 2 level of TabStrip controls and with
 tableview controls on some of them.
 First it seemed to work perfectly... but finally I could reproduce the
 effect on my computer.
 
 When the app starts up then (normally) the controls resize correctly. Just
 after keep your eyes on one of the tableviews and resize the form (I just
 change from maximized to normal window and back).
 The tableview I look at behaves normally. But when I check the others they
 have the size corresponds to the normal window size.
 
 Will be interesting to see if the same happens for you or if you find a
 silly mistake in the code.
 
 For the moment I didn't put any refreshing - I did it in the project I work
 on but didn't help.
 
 Regards,
 Robi
 

Hi,

I saw the problem now, and noticed that I don't get it with Qt 4 in Gambas 3. 
I will see if I can find a workaround for Gambas 2...

-- 
Benoît Minisini

--

___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] form_resize issue

2010-05-14 Thread Benoît Minisini
  Hi Benoit,
  
  I put together the small project with 2 level of TabStrip controls and
  with tableview controls on some of them.
  First it seemed to work perfectly... but finally I could reproduce the
  effect on my computer.
  
  When the app starts up then (normally) the controls resize correctly.
  Just after keep your eyes on one of the tableviews and resize the form
  (I just change from maximized to normal window and back).
  The tableview I look at behaves normally. But when I check the others
  they have the size corresponds to the normal window size.
  
  Will be interesting to see if the same happens for you or if you find a
  silly mistake in the code.
  
  For the moment I didn't put any refreshing - I did it in the project I
  work on but didn't help.
  
  Regards,
  Robi
 
 Hi,
 
 I saw the problem now, and noticed that I don't get it with Qt 4 in Gambas
 3. I will see if I can find a workaround for Gambas 2...

As an immediate workaround, do not use the TabStrip ClientW and ClientH 
properties during the Form_Resize event. Use the Arrangement property to 
layout your controls.

Regards,

-- 
Benoît Minisini

--

___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas for windows, how?

2010-05-14 Thread Stevie
Am Donnerstag, 13. Mai 2010 19:23:54 schrieb EA7DFH:
 El 13/05/10 18:41, admhards...@yahoo.ca escribió:
  Ok you are right but I wanna developer an app for a customer  in windows,
  because he doesn't know any debian, ubuntu, just windows Do you undestood
  me?
  Tomas
  Sent on the TELUS Mobility network with BlackBerry
 
  -Original Message-
  From: Alessandro Rinaldi alerina...@linuxzogno.org
  Date: Thu, 13 May 2010 18:06:27
  To: mailing list for gambas usersgambas-user@lists.sourceforge.net
  Subject: Re: [Gambas-user] Gambas for windows, how?
 
  I can't understand why you want to use a so good software on a so ugly OS
  ;)
 
 It seems it is YOU who didn'n understand...
 
 If you want to develop for Windows, you MUST search other programming
 language, other than Gambas.
 
 Try Python, Haskell or C/C++... they are all multi-plattform, or if you
 don't need linux at all, Visual Basic is your choice, as someone said to
 you in previous post.
 
 Good luck!

Although it's an old disussion I don't know, if there is room for the big 
picturebut
- Windoze is on it's best way to become somthing like an incompatible 
componentware (C#, VB.Net etc.)
- There is no crossplattform RAD-tool at the moment.
- Only the Qt-frameworkwhich is far away of being a RAD-tool.
- Java is still crap (sorrymy personal opinion)
- ...and Gambas, relaying on Qt, could be the PITA of M$
- Benoit said, he will not port Gambas to Windoze...but he would help, if 
there is someone willing to do the job. :-))
- aside of this...developing once, compiling twice is the right way to serve 
both platforms.

I've developed some nice tiny tools with Gambas...I can't count the requests 
of windoze- friends and -customers, to have this apps on their M$-machines.
- Remote-X is, for most of them, rocket sience. :-/
- migrating their Windoze-mules to a Linux-F1-racer in one go? ...no way!
- German saying: salami-tactic...means slice-wise! ;-)

Never give your customer what he needs! always give him what he wants! 
...with an option! ;-)

There IS a market for Gambas on other plattforms!!! 

Regardsawaiting friendly fire! ;-)
Stevie

--

___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas for windows, how?

2010-05-14 Thread Stevie
Am Donnerstag, 13. Mai 2010 19:23:54 schrieb EA7DFH:
 El 13/05/10 18:41, admhards...@yahoo.ca escribió:
  Ok you are right but I wanna developer an app for a customer  in windows,
  because he doesn't know any debian, ubuntu, just windows Do you undestood
  me?
  Tomas
  Sent on the TELUS Mobility network with BlackBerry
 
  -Original Message-
  From: Alessandro Rinaldi alerina...@linuxzogno.org
  Date: Thu, 13 May 2010 18:06:27
  To: mailing list for gambas usersgambas-user@lists.sourceforge.net
  Subject: Re: [Gambas-user] Gambas for windows, how?
 
  I can't understand why you want to use a so good software on a so ugly OS
  ;)
 
 It seems it is YOU who didn'n understand...
 
 If you want to develop for Windows, you MUST search other programming
 language, other than Gambas.
 
 Try Python, Haskell or C/C++... they are all multi-plattform, or if you
 don't need linux at all, Visual Basic is your choice, as someone said to
 you in previous post.
 
 Good luck!

Although it's an old disussion I don't know, if there is room for the big 
picturebut
- Windoze is on it's best way to become somthing like an incompatible 
componentware (C#, VB.Net etc.)
- There is no crossplattform RAD-tool at the moment.
- Only the Qt-frameworkwhich is far away of being a RAD-tool.
- Java is still crap (sorrymy personal opinion)
- ...and Gambas, relaying on Qt, could be the PITA of M$
- Benoit said, he will not port Gambas to Windoze...but he would help, if 
there is someone willing to do the job. :-))
- aside of this...developing once, compiling twice is the right way to serve 
both platforms.

I've developed some nice tiny tools with Gambas...I can't count the requests 
of windoze- friends and -customers, to have this apps on their M$-machines.
- Remote-X is, for most of them, rocket sience. :-/
- migrating their Windoze-mules to a Linux-F1-racer in one go? ...no way!
- German saying: salami-tactic...means slice-wise! ;-)

Never give your customer what he needs! always give him what he wants! 
...with an option! ;-)

There IS a market for Gambas on other plattforms!!! 

Regardsawaiting friendly fire! ;-)
Stevie

--

___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Support for static arrays has been removed

2010-05-14 Thread Benoît Minisini
Hi,

There was a warning in the documentation for a long time, and now it is 
effective: the support for static arrays has been removed.

Moreover, the New keyword is now mandatory if you want to instanciate an array 
at the same time you declare it.

Concretely, the following syntaxes are not possible anymore:

Private MyStaticArray[16] As MyClass ' #1
Private MyArray As MyClass[16] ' #2

The syntax #2 must be written that way:

Private MyArray As New MyClass[16]

Static arrays will come back in the future (with structure support maybe, who 
knows?), but they will use the syntax #2, not the syntax #1. So don't be mixed 
up!

Regards,

-- 
Benoît Minisini

--

___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user