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

Benoît Minisini gambas at ...1...
Sat Oct 24 00:29:26 CEST 2009


> 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




More information about the User mailing list