Specifies the name of the shortcut which displays the group.
Type
Description
String
A HTML expression that indicates the caption of the shortcut.
The Group objects with the same Shortcut property belongs
to the same set, and displays the Shortcut caption in the control's shortcut
bar. The ShowShortcutBar property
specifies whether the control's shortcut bar is visible or hidden. By default,
the Shortcut property is empty, so all Group in the Groups collection belongs
to the same set. The shortcut bar displays the first icon in the HTML caption,
if found, or it displays a custom size picture if specified using the the ShortcutPicture
property. If the Shortcut has associated a custom size picture ( ShortcutPicture
property ), the first icon found in the HTML caption is not displayed in the
shortcut bar. The entire Shortcut caption is displayed when the shortcut is
expanded. Use the ExpandShortcutCount
property to expand the number of shortcuts in the control's shortcut bar.
The Shortcut property supports the following HTML tags:
<b> bold </b>
<u> underline </u>
<s> strikeout </s>
<i> italic </i>
<fgcolor = FF0000> fgcolor </fgcolor>
<bgcolor = FF0000> bgcolor
</bgcolor>
<br> breaks a line.
<solidline> draws a solid line
<dotline> draws a dotted line
<upline> draws the line to the top of the text line
<r> aligns the rest of the text line to the right side
<img>number[:width]</img> inserts an icon inside the cell's
caption. The number indicates the index of the icon being inserted. The
width is optional and indicates the width of the icon being inserted.
Using the width option you can overwrite multiple icons getting a nice
effect. By default, if the width field is missing, the width is 18 pixels.