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

Olivier Cruilles linuxos at ...1896...
Sat Oct 24 11:24:57 CEST 2009


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 button, panel, label, etc ... ?

If I copy/paste all objects form the TabStrip (Tab1) to a new form,  
are all these objects will keep with the same
name to bo coherent to the code associate ?

Now, the last question... I don't know how to  "embed them in the  
TabStrip at runtime" ...

Can you explain me please ?

Thank you in advance..

Olivier Cruilles
Mail: linuxos at ...1896...

Le 24 oct. 2009 à 00:29, Benoît Minisini a écrit :

>> 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. Just create five different  
> forms, and
> embed them in the TabStrip at runtime.
>
> Of course this limit is a boring one, but having more than 4096  
> constants in a
> class usually means that there is a problem in the design.
>
> Regards,
>
> -- 
> Benoît Minisini
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) 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 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user








More information about the User mailing list