Posted 28 February 2020, 2:28 am EST
Hi
I’m using VSFlexgrid 8 in a VBA project, but I’m now upgrading to VB.NET.
In VBA I’m using this syntax to display a cell picture:
fg.cell(flexcpPicture, fg.Rows - 1, 0) = MyImage.Picture
The same syntax in VB.NET is as below, but it doesn’t work, no picture is displayed. What am I doing wrong? The image object doesn’t seem to have a .picture property in VB.NET, is that the issue, do I have to specify the image in a different way?
fg.set_Cell(VSFlex8.CellPropertySettings.flexcpPicture, fg.rows - 1, 0, fg.rows - 1, 0, MyImage)