Islam,
When you say 'Font.Italic', you are returning the boolean Italic
property from the Font property that is exposed.
Rather, what you want to do is:
textbox1.Font.Italic = true;
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"SemSem" <Se****@discussions.microsoft.com> wrote in message
news:F3**********************************@microsof t.com...
if i have a textbox and want to change the text inside the textbox into
(blod-italic)
using buttons
i try this
textbox1.font=font.italic; \\ for the button italic
and its not work
and give me error-> can'y implicitly convert type bool to system.drawing
.font
plz someone tell me how and why?
--
Islam Khalil,