Hi Alvo,
Just create a public variable (a read only property would be a better
design) in your character map form and assign the selected character to it
so that you can access it from the word processor form:
// *** IN WORD PROCESSOR FORM
// launch Character Map form
FormCharacterMap cm = new FormCharacterMap();
if (cm.ShowDialog() == DialogResult.Ok)
{
char ch = cm.SelectedCharacter;
}
// *** IN CHAR MAP FORM
public char SelectedCharacter;
// assign value to this var whenerver the user selects a char...
Regards - Octavio
"Alvo von Cossel I" <Al************@discussions.microsoft.com> escribió en
el mensaje news:97**********************************@microsof t.com...
hi,
i am making a word processor. i have the main form and my own version of
the
character map in another. the main form has a rich textbox in it. my aim
is
for the user to click on a character in the character map and that
character
will appear in the main form's richtextbox.
i hope my question was understandable. if not, feel free to ask any
questions about this question
thanks in advance
whoops, gotta go pick up my son!
--
Alvo von Cossel I of Germany