Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

In MS word, in "Insert" menu, there's a "Symbol" menu function where users can insert special characters in their docs..

 

My manager wants a simialr functionality in the WinForm app we're doing..

 

any ideas on how to do that? I googled but not much luck.

Posted

To get the characters from whichever encoding type you are using, you could do something like...

 

[CS]

int i = 0;

for (i = 0;i<256;i++)

{

texbox1.text += (char)i;

}[/CS]

 

I'm not entirely sure what you want here... Did you want the interface or the code?

-Sean
Posted

The interface

 

How do I create that "Symbol"'s box? Do I need to create a box, put ASCII characers in it, have an "insert" button and do the code you have to get the selections??

 

If so, too much work! I thought maybe there's a piece of code for it I could just insert into my code...

Posted
I guess you could use a panel, scrollbar and then a collection of labels to make the interface... then to generate the characters you could use my code... But to make it look identical, you're going to have to put more work in it that that...
-Sean

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...