The following example loads icons from the Microsoft Visual Basic® icon library into two cells within a ModHFGrid. You can use any two icons. Paste the code into the Declarations section of a form that contains the ModHFGrid. Press F5 to run the program, and then click the form.
Private Sub Form_Click () ' Load the icons. ModHFGrid1.Row =1 ModHFGrid1.Col =1 Set ModHFGrid1.CellPicture =_ LoadPicture("Icons\Computer\Trash02a.ico") ModHFGrid1.Row =1 ModHFGrid1.Col =2 Set ModHFGrid1.CellPicture =_ LoadPicture("Icons\Computer\Trash02b.ico") End Sub