changing the image of button

tufanv

Expert
Licensed User
Longtime User
Hello,

I have a button with image , i want to change the image file within specific variant but can not find the code to change the image ( there is no button1.image) in designer script.

Would appreciate a help
ty
 

birnesoft

Active Member
Licensed User
Longtime User
Use a Panel or Imageview

A Panel or Imageview has also a click event.
you can use it as Button.

panel1.backgroundimage=bitmap

Gruß Björn
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…