… = Stock[…] (gb.form)

Dim hPicture As Picture
hPicture = Stock [ Key As String [ , Default As String ] ]

Returns an icon from the stock.

The format of Key is "_Size_/Name_", where:
  • Size is the size of the icon.

  • Name is the name of the icon.

Use the List property to get a list of all possible names.

This method is called by the Picture class array accessor when it gets an icon path beginning with "icon:/".