Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Events and Logic > PFKEYCAP

 

 

Purpose

PFKEYCAP retrieves the keycap text entered at the $CRT screen for keys that are application-definable.
 

Syntax

variable = PFKEYCAP(fn-key-number)
 

Operation

fn-key-number is the number of the key for which text is to be retrieved.  This is a value in the range 1 to 10.
 

Remarks

This can be used, together with PFKEYUSAGE, to display the use made of application-defined Function Keys within a screen.
 

Example

This example displays a keys function by displaying the keycap text and key usage as defined by the developer.

$X = PFKEYCAP(1)
$Y = PFKEYUSAGE(1)

UMSG($X + ‘ = ‘ + $Y)

This might give an output indicating the presence and usage of a pop-up window as:
"ALT+F1 = Show Prices"
 

Comment on this topic

Topic ID: 520098

 
 
 

Table of Contents

Index

Glossary

-Search-

Back