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,148
Downloads 449
CodeID
DB ID
ANmarAmdeen
610
Revisions
v1.0
Monday
February
3
2020