Solved

Image in FlexGrid

Posted on 2002-07-11
1
272 Views
Last Modified: 2010-05-03
How do I insert an image to FlexGrid ?
For example row=5 and col=6.
0
Comment
Question by:tryforum
1 Comment
 
LVL 4

Accepted Solution

by:
gencross earned 50 total points
ID: 7147162
Here is an example...

Private Sub Form_Click ()
   ' Load the icons.
   MSHFlexGrid1.Row =1
   MSHFlexGrid1.Col =1
   Set MSHFlexGrid1.CellPicture =_
   LoadPicture("Icons\Computer\Trash02a.ico")
   MSHFlexGrid1.Row =1
   MSHFlexGrid1.Col =2
   Set MSHFlexGrid1.CellPicture =_
   LoadPicture("Icons\Computer\Trash02b.ico")
End Sub

0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
add text to end of existing text in file 16 70
Windows 10 start screen issues 9 55
Prevent checkbox click event occur while editing it in vb6 8 45
TT Auto Dashboard 13 92
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question