hi,
Those charactes are in your keyboard settings. If you setup your keyboard to
us-international and your laguage to english, you will get é if you type 'e.
I'm dutch and we also use accents a lot. It takes a little getting used to
because if you want to type comments in a VB programm you will sommetimes
get the following:
érrortrapping routine
instead of
'errortrapping routine.
Type a space after the accent to avoid combining.
--
Cees Harlaar
Change .HL to .NL to send an e-mail
Verander .HL in .NL om e-mail te sturen.
If that is the case, there are some alternatives:
1) Use Character Map, running at the same time, to select the
desired character, copy it to the clipboard, then paste it into
the textbox.
2) Provide a drop-down menu with the desired characters on it
which the user could select from. Selecting one would insert it
into the current cursor position in the textbox.
3) Do the same as 2, but have the characters in their own buttons
or labels, etc.
4) Code into the textbox's KeyDown event so that if the user
presses, say, the Control key along with certain alpha keys, it
results in the desired letter with accent or umlaut or whatever.
For example, Ctrl-u could give ü, etc. I think this is the way
that I would do it. You could just include, in an If statement,
the combinations applicable to the language currently in use, so
there would be no conflict. Just make sure that you aren't
depending on the Ctrl- combinations for use as hot keys in menus.
Of course, if you do, you could always have the user hit
Ctrl-Alt-u instead.
Hope this helps.
--
Sig...@att.net
~~~~~~~~~~~~~~~~~~~~
"For every action, there is an equal and opposite criticism."
Cees Harlaar <cornelis...@brunel.hl> wrote in message
news:9462025...@newsreader2.wirehub.nl...
ronald staats wrote:
> hello,
> I'm building an application to help a student to learn foreing
> languages. French or German words often use strange caracters like:
> gêne or zücken. The student can use the alt-0252 combination, but
> there must be an easier way. Can someone help me to program a better
> way to do this?
> thnanx,
> ronald staats
> r.st...@iname.com
You could trap certain key presses, and when they are pressed, add to
the textbox, for example chr$(0)+chr$(255) (or just ÿ). So, you could
make for example, the F2 key a shortcut for ÿ.
--
Make money for surfing the web at
http://www.alladvantage.com/go.asp?refid=BSF783
(turn cokies on first)
Proud memeber of The Elite Council of Pointlessness.
Mark Palenik, President of
________
/-------/\
/--------\/\
|--_____ -\/\
|--|++++\--\/|
|--|+++++\-|/|RAKKON Software Productions
|--|+++++|-|/|
|--|+++++|-|//_For company info, go to,
|--|+++++|-/___http://www.drakkon.com/
|--\____/-/____http://www.segasonic.simplenet.com/stjr
\--------/
http://www.drakkon.com/
http://www.segasonic.simplenet.com/stjr
ronald staats <r.st...@iname.com> wrote in message
news:3865ac9...@193.172.127.92...