Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Karben Selim Mejia
  Where is Karben Selim Mejia?
 San Pedro Sula
 Honduras
 Karben Selim Mejia
 To: Anil Tayal
  Where is Anil Tayal?
 Delhi
 India
 Anil Tayal
 Tags
Subject: RE: Inkey.h
Thread ID: 16176 Message ID: 16264 # Views: 1 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Monday, October 14, 2002 7:17:40 PM         
   


> > > Hi,
> > >
> > > Is there any such file as inkey.h available in VFP 6.0 ? I am actually looking for a header file for all the inkey codes so that I do not have to look back for there ascii values when writing the keypress events.
> > >
> > > Thanx,
> > >
> > > Anil
> >
> > They are in the help file in the Inkey() topic.
> >
> > Cheers,
> > Jamie
> > jamie.osborn@foxite.com
>
> Yes, they are there but I wanted to know if there is a header file so that I can include it in my project and then refer to the keys with names instead of numbers.
>
> Thanx,
>
> Anil

See this
#DEFINE  _F1ALONE             28
#DEFINE  _F1SHIFT             84
#DEFINE  _F1CTRL              94
#DEFINE  _F1ALT               104
#DEFINE  _F2ALONE             -1
#DEFINE  _F2SHIFT             85
#DEFINE  _F2CTRL              95
#DEFINE  _F2ALT               105
#DEFINE  _F3ALONE             -2
#DEFINE  _F3SHIFT             86
#DEFINE  _F3CTRL              96
#DEFINE  _F3ALT               106
#DEFINE  _F4ALONE             -3
#DEFINE  _F4SHIFT             87
#DEFINE  _F4CTRL              97
#DEFINE  _F4ALT               107
#DEFINE  _F5ALONE             -4
#DEFINE  _F5SHIFT             88
#DEFINE  _F5CTRL              98
#DEFINE  _F5ALT               108
#DEFINE  _F6ALONE             -5
#DEFINE  _F6SHIFT             89
#DEFINE  _F6CTRL              99
#DEFINE  _F6ALT               109
#DEFINE  _F7ALONE             -6
#DEFINE  _F7SHIFT             90
#DEFINE  _F7CTRL              100
#DEFINE  _F7ALT               110
#DEFINE  _F8ALONE             -7
#DEFINE  _F8SHIFT             91
#DEFINE  _F8CTRL              101
#DEFINE  _F8ALT               111
#DEFINE  _F9ALONE             -8
#DEFINE  _F9SHIFT             92
#DEFINE  _F9CTRL              102
#DEFINE  _F9ALT               112
#DEFINE  _F10ALONE            -9
#DEFINE  _F10SHIFT            93
#DEFINE  _F10CTRL             103
#DEFINE  _F10ALT              113
#DEFINE  _F11ALONE            133
#DEFINE  _F11SHIFT            135
#DEFINE  _F11CTRL             137
#DEFINE  _F11ALT              139
#DEFINE  _F12ALONE            134
#DEFINE  _F12SHIFT            136
#DEFINE  _F12CTRL             138
#DEFINE  _F12ALT              140
#DEFINE  _1ALONE              49
#DEFINE  _1SHIFT              33
#DEFINE  _1ALT                120
#DEFINE  _2ALONE              50
#DEFINE  _2SHIFT              64
#DEFINE  _2ALT                121
#DEFINE  _3ALONE              51
#DEFINE  _3SHIFT              35
#DEFINE  _3ALT                122
#DEFINE  _4ALONE              52
#DEFINE  _4SHIFT              36
#DEFINE  _4ALT                123
#DEFINE  _5ALONE              53
#DEFINE  _5SHIFT              37
#DEFINE  _5ALT                124
#DEFINE  _6ALONE              54
#DEFINE  _6SHIFT              94
#DEFINE  _6ALT                125
#DEFINE  _7ALONE              55
#DEFINE  _7SHIFT              38
#DEFINE  _7ALT                126
#DEFINE  _8ALONE              56
#DEFINE  _8SHIFT              42
#DEFINE  _8ALT                127
#DEFINE  _9ALONE              57
#DEFINE  _9SHIFT              40
#DEFINE  _9ALT                128
#DEFINE  _0ALONE              48
#DEFINE  _0SHIFT              41
#DEFINE  _0ALT                19
#DEFINE  _AALONE              97
#DEFINE  _ASHIFT              65
#DEFINE  _ACTRL               1
#DEFINE  _AALT                30
#DEFINE  _BALONE              98
#DEFINE  _BSHIFT              66
#DEFINE  _BCTRL               2
#DEFINE  _BALT                48
#DEFINE  _CALONE              99
#DEFINE  _CSHIFT              67
#DEFINE  _CCTRL               3
#DEFINE  _CALT                46
#DEFINE  _DALONE              100
#DEFINE  _DSHIFT              68
#DEFINE  _DCTRL               4
#DEFINE  _DALT                32
#DEFINE  _EALONE              101
#DEFINE  _ESHIFT              69
#DEFINE  _ECTRL               5
#DEFINE  _EALT                18
#DEFINE  _FALONE              102
#DEFINE  _FSHIFT              70
#DEFINE  _FCTRL               6
#DEFINE  _FALT                33
#DEFINE  _GALONE              103
#DEFINE  _GSHIFT              71
#DEFINE  _GCTRL               7
#DEFINE  _GALT                34
#DEFINE  _HALONE              104
#DEFINE  _HSHIFT              72
#DEFINE  _HCTRL               127
#DEFINE  _HALT                35
#DEFINE  _IALONE              105
#DEFINE  _ISHIFT              73
#DEFINE  _ICTRL               9
#DEFINE  _IALT                23
#DEFINE  _JALONE              106
#DEFINE  _JSHIFT              74
#DEFINE  _JCTRL               10
#DEFINE  _JALT                36
#DEFINE  _KALONE              107
#DEFINE  _KSHIFT              75
#DEFINE  _KCTRL               11
#DEFINE  _KALT                37
#DEFINE  _LALONE              108
#DEFINE  _LSHIFT              76
#DEFINE  _LCTRL               12
#DEFINE  _LALT                38
#DEFINE  _MALONE              109
#DEFINE  _MSHIFT              77
#DEFINE  _MCTRL               13
#DEFINE  _MALT                50
#DEFINE  _NALONE              110
#DEFINE  _NSHIFT              78
#DEFINE  _NCTRL               14
#DEFINE  _NALT                49
#DEFINE  _OALONE              111
#DEFINE  _OSHIFT              79
#DEFINE  _OCTRL               15
#DEFINE  _OALT                24
#DEFINE  _PALONE              112
#DEFINE  _PSHIFT              80
#DEFINE  _PCTRL               16
#DEFINE  _PALT                25
#DEFINE  _QALONE              113
#DEFINE  _QSHIFT              81
#DEFINE  _QCTRL               17
#DEFINE  _QALT                16
#DEFINE  _RALONE              114
#DEFINE  _RSHIFT              82
#DEFINE  _RCTRL               18
#DEFINE  _RALT                19
#DEFINE  _SALONE              115
#DEFINE  _SSHIFT              83
#DEFINE  _SCTRL               19
#DEFINE  _SALT                31
#DEFINE  _TALONE              116
#DEFINE  _TSHIFT              84
#DEFINE  _TCTRL               20
#DEFINE  _TALT                20
#DEFINE  _UALONE              117
#DEFINE  _USHIFT              85
#DEFINE  _UCTRL               21
#DEFINE  _UALT                22
#DEFINE  _VALONE              118
#DEFINE  _VSHIFT              86
#DEFINE  _VCTRL               22
#DEFINE  _VALT                47
#DEFINE  _WALONE              119
#DEFINE  _WSHIFT              87
#DEFINE  _WCTRL               23
#DEFINE  _WALT                17
#DEFINE  _XALONE              120
#DEFINE  _XSHIFT              88
#DEFINE  _XCTRL               24
#DEFINE  _XALT                45
#DEFINE  _YALONE              121
#DEFINE  _YSHIFT              89
#DEFINE  _YCTRL               25
#DEFINE  _YALT                21
#DEFINE  _ZALONE              122
#DEFINE  _ZSHIFT              90
#DEFINE  _ZCTRL               26
#DEFINE  _ZALT                44
#DEFINE  _INSALONE            22
#DEFINE  _INSSHIFT            22
#DEFINE  _INSCTRL             146
#DEFINE  _INSALT              162
#DEFINE  _HOMEALONE           1
#DEFINE  _HOMESHIFT           55
#DEFINE  _HOMECTRL            29
#DEFINE  _HOMEALT             151
#DEFINE  _DELALONE            7
#DEFINE  _DELSHIFT            7
#DEFINE  _DELCTRL             147
#DEFINE  _DELALT              163
#DEFINE  _ENDALONE            6
#DEFINE  _ENDSHIFT            49
#DEFINE  _ENDCTRL             23
#DEFINE  _ENDALT              159
#DEFINE  _PAGEUPALONE         18
#DEFINE  _PAGEUPSHIFT         57
#DEFINE  _PAGEUPCTRL          31
#DEFINE  _PAGEUPALT           153
#DEFINE  _PAGEDOWNALONE       3
#DEFINE  _PAGEDOWNSHIFT       51
#DEFINE  _PAGEDOWNCTRL        30
#DEFINE  _PAGEDOWNALT         161
#DEFINE  _UPARROWALONE        5
#DEFINE  _UPARROWSHIFT        56
#DEFINE  _UPARROWCTRL         141
#DEFINE  _UPARROWALT          152
#DEFINE  _DOWNARROWALONE      24
#DEFINE  _DOWNARROWSHIFT      50
#DEFINE  _DOWNARROWCTRL       145
#DEFINE  _DOWNARROWALT        160
#DEFINE  _RIGHTARROWALONE     4
#DEFINE  _RIGHTARROWSHIFT     54
#DEFINE  _RIGHTARROWCTRL      2
#DEFINE  _RIGHTARROWALT       157
#DEFINE  _LEFTARROWALONE      19
#DEFINE  _LEFTARROWSHIFT      52
#DEFINE  _LEFTARROWCTRL       26
#DEFINE  _LEFTARROWALT        155
#DEFINE  _ESCALONE            27
#DEFINE  _ENTERALONE          13
#DEFINE  _ENTERSHIFT          13
#DEFINE  _ENTERCTRL           10
#DEFINE  _BACKSPACEALONE      127
#DEFINE  _BACKSPACESHIFT      127
#DEFINE  _BACKSPACECTRL       127
#DEFINE  _BACKSPACEALT        14
#DEFINE  _TABALONE            9
#DEFINE  _TABSHIFT            15
#DEFINE  _SPACEBARALONE       32
#DEFINE  _SPACEBARSHIFT       32
#DEFINE  _SPACEBARALT         57



regards

Karben Selim Mejia

I always have the last word in my home, "Yes sweet heart, what ever you say"

Honduras, Central America
The very center of the world

ENTIRE THREAD

Inkey.h Posted by aktayal @ 10/10/2002 4:59:53 PM
RE: Inkey.h Posted by Jamie Osborn @ 10/11/2002 2:07:01 AM
RE: Inkey.h Posted by aktayal @ 10/11/2002 5:50:26 AM
RE: Inkey.h Posted by Karben Selim Mejia @ 10/14/2002 7:17:40 PM
RE: Inkey.h Posted by aktayal @ 10/14/2002 10:44:52 PM