Here is a way to get the keys you need.

Create a new project.
In Window 1 add an EditField and a Timer.
Set the Timer Mode to 0, (none) and the period to 10
Create a property in Window1: asciikey As String
In EditField1 put the following code in the KeyDown event:
  asciikey = Str(Asc(Key))
  Timer1.Mode = 1
In the Timer1 Action event put the following code
  EditField1.Text = asciikey
  asciikey = ""

Run the project. When you press a key on the keyboard the key's decimal
code will be displayed in the edit field.

HTH

Tom


> Hello everyone,
> 
> For the life of me I cannot find the codes to use on a 
> windows box in the key() function.
> 
> The ones in the language guide are for a MAC and they do not 
> work under windows XP.
> 
> Any help is much appreciated.
> 
> -Mark
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to