xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

FkMax()

Returns the number of available function keys.

Syntax

FkMax() --> nFKeyCount

Return

The function returns the number of available function keys.

Description

This function exists for compatibility reasons only and is not recommended to be used in new xHarbour programs.

Info

See also:FkLabel()
Category: Keyboard functions
Source:rtl\fkmax.c
LIB:xhb.lib
DLL:xhbdll.dll

Example

// 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

Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe