[Gambas-user] new font class behavior is broken

Rob sourceforge-raindog2 at ...94...
Sun Apr 4 22:32:16 CEST 2004


On Sunday 04 April 2004 11:30, Benoit Minisini wrote:
> To allow Control.Font.Bold = TRUE changing the control font in
> Gambas AND Control.Font returning a Font object, I had to
> implement a special support in the class routines of the
> interpreter. And the Font class was the sole one in this case

Why not just make a virtual class .ControlFont which is a 
subclass of Font, and which itself has a property called Font 
which returns the control's non-virtual Font object?  

Rob





More information about the User mailing list