[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Web Font from WebControl font
[Thread Prev] | [Thread Next]
- Subject: Web Font from WebControl font
- From: Bruce Steers <bsteers4@xxxxxxxxx>
- Date: Sat, 30 Aug 2025 21:57:46 +0100
- To: Gambas Mailing List <user@xxxxxxxxxxxxxxxxxxxxxx>
Could do with a nice way to set a new Font (gb.web.gui) from the string of a control. I have this working but i do not know how robust it is... Paint.Font = Font[Split(hWebObject.Font, ", ").Reverse().Join(" ")] So a control that has the Font string of "serif,bold,32px" converts to Font["32px bold serif"] Maybe a Font.FromString() method or Paint.GetFont() ? Respects BruceS
Re: Web Font from WebControl font | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |