Refreshing image in ImageControl of VBE Userform
When we change picture of image, we need to change its size to force it to refresh
when we change picture of image, we need to change size to force it to refresh
like this
ComCon = "ImgInstructions"
OldW = FrmL.Controls(ComCon).Width
FrmL.Controls(ComCon).Width = OldW - 1
FrmL.Controls(ComCon).Width = OldW
like this
ComCon = "ImgInstructions"
OldW = FrmL.Controls(ComCon).Width
FrmL.Controls(ComCon).Width = OldW - 1
FrmL.Controls(ComCon).Width = OldW
Views 1,169
Downloads 458
CodeID
DB ID
ANmarAmdeen
615
Revisions
v1.0
Monday
February
3
2020