Programming with Reflection

image\rwnprg32.gif GetHotspotCommandsEx method

 

Syntax Commands = object.GetHotspotCommands(Name, Flags, Row, Column)

 

Description

Returns the commands, terminal keys, or scripts (or the combination of these elements) associated with the specified hotspot. The hotspot is defined by the following arguments. Refer to the DefineHotspotEx method for more detailed information about these arguments. An error is returned if the arguments do not describe a currently defined hotspot.

Arguments

Name Argument type: String
The string that identifies the hotspot. Hotspot names are case sensitive.

Flags Argument type: Enumeration
The flags selected for the hotspot. Possible values are:

 rcMatchAll
rcMatchCase
rcMatchWhole
rcMatchCaseWhole

Row Argument type: Integer
The defined row for the hotspot. Use rcAnyRow or a specific row value.

Column Argument type: Integer
The defined column for the hotspot. Use rcAnyCol or a specific column value.

Return

Commands Return type: String
The commands associated with the specified hotspot.

Note: The Name, Flags, Row, and Column arguments must all match a defined hotspot. If any one of these arguments does not match a defined hotspot, error 4131("Hotspot string not found") is returned.

This method is an extended version of the GetHotspotCommands method.

 

image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command