Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What's the easiest way to use strange karakters (êëõ) in a textbox?

0 views
Skip to first unread message

ronald staats

unread,
Dec 26, 1999, 3:00:00 AM12/26/99
to
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

Cees Harlaar

unread,
Dec 26, 1999, 3:00:00 AM12/26/99
to

ronald staats <r.st...@iname.com> schreef in berichtnieuws
3865ac9...@193.172.127.92...

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.


Signet

unread,
Dec 26, 1999, 3:00:00 AM12/26/99
to
Cees provided the correct answer, as most people using the foreign
languages will have their keyboards set up for them in the way he
describes. However, if your students are English, with English
keyboard setups, they may not want to change their keyboard
setups.

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...

Mark Palenik

unread,
Dec 26, 1999, 3:00:00 AM12/26/99
to

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

David Wier

unread,
Dec 27, 1999, 3:00:00 AM12/27/99
to
ASP Express (registered version only) has a feature that allows you to
create the page with the keyboard & characters you want. Then, at the end,
clicking on a pull-down menu, it converts all those characters to HTML
format. If you need to work with it at a later time, you can convert them
all back while you're working on it and then convert again when FTP'ing the
file.
--
David Wier
http://www.aspexpress.com
Home of ASP Express - the best ASP text editor in the Galaxy

ronald staats <r.st...@iname.com> wrote in message
news:3865ac9...@193.172.127.92...

0 new messages