The FunctionKeys collection is a collection whose elements represent each Function Key in a Form.
Newlook Smartclient
Newlook Server
Function Keys are created dynamically by the recognition engine when a screen is received from the host. Attempting to delete a host-generated function key will set its Visible property to False.
Custom function keys can also be added to, or removed from a form at Design-time or dynamically via the Add or Remove methods of the FunctionKeys collection.
The FunctionKeys collection uses the Count property to return the number of FunctionKeys in the collection.
It is not possible to delete the OK function key from the function keys collection. If you do not want this key to appear on the screen then set it's visibility to false.
You can reference an individual item within any Newlook collection by using its Index. All indexes in Newlook are zero-based therefore, if you want to return the text of the third item in the function key collection you would use the following syntax:
App.ActiveForm.FunctionKeys(2).Text
Available in Newlook Smartclient
Available in Newlook Server
Deprecated.
Property |
Client |
Description |
|
Returns the number of objects in a collection. |
Each individual function key has its own properties and methods. Refer to the FunctionKey object topic for further information.
© 2004-2021 looksoftware. All rights reserved.