Table of Contents

OPTIONSKEY property (PropertyGrid)

Description

Specifies the key used to click the Options button on the current property being edited. If the property editor is a combobox this will toggle list state (dropped-down or hidden).

Property Value

The OPTIONSKEY value must be a Windows Virtual Key Code.

Property Traits

DevelopmentRuntimeIndexedScaledSynthetic
Get/SetGet/SetNoNoNo

Remarks

The default OPTIONSKEY value is "F4", the same as a normal Windows Combobox control. Equated constants for these can be found in the MSWIN_VIRTUALKEY_EQUATES insert record.

Example

 
$Insert MsWin_VirtualKey_Equates

   

   // Get the current options key for the PRG_MAIN Property Grid control

   optionsKey = Get_Property( @window : ".PRG_MAIN", "OPTIONSKEY" )

   

   // Set the options key to trigger options by using the "F2" key

   Call Set_Property_Only( @window : ".PRG_MAIN", "OPTIONSKEY", VK_F2$ )
 
 
 

See Also

N/A