Re: [Gambas-user] Form problem with Gambas v2.16

2009-10-24 Thread Olivier Cruilles
Benoit, I think this is not really difficult to create five different forms but I don't want to rewrite all my code after doing this transformation. To be more clear, can I take each code of each TabStrip and put it in a new form or did I need to rewrite the code on each new form about

Re: [Gambas-user] Form problem with Gambas v2.16

2009-10-24 Thread nospam.nospam.nospam
- Original Message - From: Olivier Cruilles linu...@club-internet.fr [QUOTE] To be more clear, can I take each code of each TabStrip and put it in a new form or did I need to rewrite the code on each new form about button, panel, label, etc ... ? [/QUOTE] Cut/Copy/Paste. [QUOTE] If I

Re: [Gambas-user] Form problem with Gambas v2.16

2009-10-24 Thread Olivier Cruilles
Benoit, I found that you talked me: 'embed them in the TabStrip at runtime' So I create a new Form by copy/paste with all objects of the Tab1. I copy/paste too the code corresponding and now all It's ok. Thank you, now I know a new method to develop Gambas projects. Olivier Cruilles Mail:

[Gambas-user] Form problem with Gambas v2.16

2009-10-23 Thread Olivier Cruilles
Hello Benoit, Since Gambas v2.16, after copy/paste objects by the IDE (as button or Panel) in my main form, I can not execute or recompil my project because the following error panel appair: Too many constants dans la définition du formulaire. Maybe there is too many objects declared in

Re: [Gambas-user] Form problem with Gambas v2.16

2009-10-23 Thread Benoît Minisini
Hello Benoit, Since Gambas v2.16, after copy/paste objects by the IDE (as button or Panel) in my main form, I can not execute or recompil my project because the following error panel appair: Too many constants dans la définition du formulaire. Maybe there is too many objects declared

Re: [Gambas-user] Form problem with Gambas v2.16

2009-10-23 Thread Dag Jarle Johansen
Benoît Minisini schrieb: Hello Benoit, Since Gambas v2.16, after copy/paste objects by the IDE (as button or Panel) in my main form, I can not execute or recompil my project because the following error panel appair: Too many constants dans la définition du formulaire. Maybe there is too

Re: [Gambas-user] Form problem with Gambas v2.16

2009-10-23 Thread Benoît Minisini
Here is the file: The limit is 4096 constant by class, a constant being a string or a floating point number. This limit cannot be changed in Gambas 2, because of the bytecode. But you can solve that problem by not putting everything in the same class. You have a TabStrip with five tabs.

Re: [Gambas-user] Form problem with Gambas v2.16

2009-10-23 Thread Ron_1st
On Saturday 24 October 2009, Benoît Minisini wrote: Here is the file: The limit is 4096 constant by class, a constant being a string or a floating point number. This limit cannot be changed in Gambas 2, because of the bytecode. But you can solve that problem by not putting