Help: MSFlexgrid 6.0 (sp3) and ImageList icons 
Author Message
 Help: MSFlexgrid 6.0 (sp3) and ImageList icons


I have run into a bit of a brick wall trying to get icons into an MSFlexgrid
using the .CellPicture property.  Here are the details, I hope someone has
some suggestions:

- We use an application-wide ImageList control to supply icons for all
forms/controls/toolbars etc. etc.
- I have populated the ImageList control with a bunch of 16x16 Icon files,
these work fine with toolbars and buttons.
- When I try to assign an icon to a flexgrid cell, it appears too large and
blocky (perhaps it is displaying at 32x32?) eg Set Me.grdMyGrid.CellPicture
= gimlMyImageList.ListImages("MyIcon").Picture (Sorry, I forget the exact
syntax for the ImageList)
- I found to get round this, if I used an image that was originally a 16x16
bitmap, the size came out correctly. HOWEVER, then I can't make the bitmap
background invisible.  This means that I have to make my grid white, and my
bitmap backgrounds white.
- This isn't a very flexible solution, I was wondering if anybody has taken
this any further?

Thanks in advance,


Fri, 14 Jun 2002 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Intended behavior? Imagelist 6.0 add icons

2. VB5: Need help with MSFlexGrid and ImageList controls.

3. VB 6.0 SP3 Error, HELP

4. Setting a form icon to an ImageList icon

5. HELP! with Icon Resources and ImageLists

6. HELP! with Icon Resources and ImageLists

7. HELP! with Icon Resources and ImageLists

8. File - Icon - Imagelist - Listview (HELP!!!)

9. Imagelist problem with VB 5 SP3

10. ImageList Control (SP3)

11. BUG: VB5/SP3 SSTab & MsFlexGrid

12. PRB: PrintForm and MSFlexGrid in VB6-SP3


Powered by phpBB® Forum Software