B
Bill Angus
I'm having trouble with windows forms/controls and fonts. I want to allow
font selection for a text-box, and then I want to save the user-selected
font to a database. None of my database field-types obviously is "font". So
I set up the database to store:
-font_family_name as string
-emSize as integer
-font_Style as integer
When I went try to save and restore the user-selected font from the
database, I run into troubles. Fontname, size and style are read-only
properties. I find that I cannot set the font of a control programmatically
given its name size and style...
Any idea how one may save and restore font info? (... from a database
table -- NOT from the My.Settings namespace which I already know how to
do)...
Thanks and have a great day!
Bill Angus, MA
http://www.psychtest.com
font selection for a text-box, and then I want to save the user-selected
font to a database. None of my database field-types obviously is "font". So
I set up the database to store:
-font_family_name as string
-emSize as integer
-font_Style as integer
When I went try to save and restore the user-selected font from the
database, I run into troubles. Fontname, size and style are read-only
properties. I find that I cannot set the font of a control programmatically
given its name size and style...
Any idea how one may save and restore font info? (... from a database
table -- NOT from the My.Settings namespace which I already know how to
do)...
Thanks and have a great day!
Bill Angus, MA
http://www.psychtest.com