| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Returns the number of available function keys.
FkMax() --> nFKeyCount
The function returns the number of available function keys.
This function exists for compatibility reasons only and is not recommended to be used in new xHarbour programs.
| See also: | FkLabel() |
| Category: | Keyboard functions |
| Source: | rtl\fkmax.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
// The example lists the names of all function keys
PROCEDURE Main
LOCAL n
?
FOR n:=1 TO FkMax()
?? "", FkLabel(n)
IF n % 10 == 0
?
ENDIF
NEXT
RETURN
http://www.xHarbour.com