Hi,

the Font class (gb.qt4) allows to create Fonts via its _get() method. The
_get() documentation lists a correct example, the main Font documentation
page lists a non-working example. The second one does not work because the
Font properties are separated by commas which are occasionally followed by
spaces.

If you write Font["Arial, 12, Bold"], the bold attribute is not recognised,
the size value of 12, however, is (CInt(" 12") returns 12, too...). So,
should we clarify the documentation or Trim$() the individual components?

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to