Notifications
Clear all

[Closed] dot net PictureBox locking picture

I’m trying to display picture using dot net and I need to be able to update the picture(delete if needed) as I want.

However when I my script, my picture get locked… is there a way to avoid that?


rollout test"test"
 (
dotNetControl pictureBox "System.Windows.Forms.PictureBox" height:150 width:214 align:#center

imageFile = "C:\	est.bmp"
imageObject = (dotNetClass "System.Drawing.Image").fromFile imageFile
 		
pictureBox.backGroundImage = imageObject
)
createDialog test

1 Reply

Search the forum.
I think that DenisT and Lo has showed solution for this problem. You just have to find the proper thread.