"hotKey"

This attribute returns the hot key for a shape.

Synopsis

void shape.hotKey(string);

Parameters

Parameter Description
string The hot key as a string.

Description

The read-only attribute "hotKey" returns the hot key that way assigned to a shape.

The example shows the hot key for a shape in the tooltip.

main()
{
  this.toolTipText("hotkey: "+this.hotKey());
}

Assignment

CTRL