Re: Convert String to COlor
From: Cor Ligthert (notfirstname_at_planet.nl)
Date: 06/12/04
- Next message: One Handed Man \( OHM#\): "Re: Convert String to COlor"
- Previous message: Frank: "unhandled exception"
- In reply to: jcrouse: "Re: Convert String to COlor"
- Next in thread: jcrouse: "Re: Convert String to COlor"
- Reply: jcrouse: "Re: Convert String to COlor"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 12 Jun 2004 09:00:06 +0200
Hi John,
It is possible with that string to extract it using a regex, a split or an
indexof or any combination of that.
However much easier is just to save the components of the font seperatly in
your XML file
(I showed you it the way you did to make it not that difficult explaining it
in a message, although I told that somewhere in a thread of you in this
newsgroup)
blablaFontName = textbox1.font.name.tostring
blablaFondSize = textbox1.font.size.tostring
etc.
Than setting it back is much easier
textbox1.font = new font(blablaFontName, csng(blablaFontSize))
I hope this helps?
Cor
- Next message: One Handed Man \( OHM#\): "Re: Convert String to COlor"
- Previous message: Frank: "unhandled exception"
- In reply to: jcrouse: "Re: Convert String to COlor"
- Next in thread: jcrouse: "Re: Convert String to COlor"
- Reply: jcrouse: "Re: Convert String to COlor"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|