Click to See Complete Forum and Search --> : icons within MSFlexGrid cells


Elizabeth
July 19th, 1999, 03:54 PM
How do I decrease the size of my icon to fit within a fixed cell height of my MSFlexGrid? When I included the same icon within a status bar panel, VB knew how to resize the icon to fit to the fixed size of the panel. The following code is not working.
[
Set Menu1.CellPicture = LoadPicture _
(txt2 + chgIcon, vbLPCustom, vbLPDefault, 32, 32)
Menu1.CellPictureAlignment = _
flexAlignRightTop
]

Any help would be greatly appreciated.