Link to home
Start Free TrialLog in
Avatar of MyersA
MyersA

asked on

adding html textbox to Windows Form

I use a Windows Form to add items to my online store. I have to manually add the <tags> to the item description so that I can change font, color, etc...

Is there a control I can add to my Windows Form so that this is easier? Perhaps there's a textbox control similar to the control many webpages use where you can preview how the text will look like.

I can easily modify the code and create a webform if there isn't a control for Windows (but there is for web).

Thanks,
Myers

VS2005
Avatar of badbearontour
badbearontour

You can import a internet explorer panel into the windows app and preview your code through it no problem.

Add a webbrowser object to your form and add

webBrowser1.DocumentText = myFormattedHTML;

BB
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MyersA

ASKER

Thanks for the posts.

badbearontour: I actually wanted to eliminate the need to add the tags.

emoreau: XStandard seems like a good tool for this. Does the "XStandard Lite" version let you change font color?
Avatar of MyersA

ASKER

Great.

How can it be done?

Thanks.
I thought I have already saw the font color tag in it but it was in another editor that needs to be hosted on a web page.
Avatar of MyersA

ASKER

Thanks.