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

Ron_1st ronstk at ...239...
Sat Oct 24 04:01:25 CEST 2009


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 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,
> 

LOL. I had once the same problem as Olivier. 
So I did split that form in more parts without know the real reason.
Good to know it was a *design* and not coding problem.

Best regards,

Ron_1st

-- 





More information about the User mailing list