Einzelnen Beitrag anzeigen
Alt 11.10.2012, 00:47   #105
leecher
Moderator
TYPEFKEY

E r g e b n i s / R e s u l t

The routine places the supplied function key in the keyboard buffer.

B e s c h r e i b u n g / D e s c r i p t i o n

TYPEFKEY places the function key with the numer given in k in the typeahead-buffer.

S y n t a x

Code:
value = call ('TYPEFKEY' , fkeynum)
P a r a m e t e r

fkeynum - Number of the function key whose keypress to place in the keyboard buffer

The valid integer values that can be passed to the TYPEFKEY function are:

0 - UNDO
1 - HELP
2 - MENU
3 - PRINT
4 - SEARCH
5 - COPY
6 - CHANGE
7 - PASTE
8 - DESK TOP UTILITIES
9 - SELECT
10 - DO
11 - RETURN
12 - UP ARROW
13 - DOWN ARROW
14 - LEFT ARROW
15 - RIGHT ARROW
16 - TAB
17 - BACK TAB


R e t u r n s

BOOL: TRUE on success, FALSE on failure

B e i s p i e l / E x a m p l e

Code:
attach 'TYPAHEAD'
put call ('TYPEFEY' , 4) ! places a keypress to F4 in the keyboard buffer
detach 'TYPAHEAD'
leecher ist offline   Mit Zitat antworten