Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change button picture

Status
Not open for further replies.

KoenPiller

Programmer
Apr 4, 2001
270
NL
Hi!

I have this button on this the picture icon waste (bucketempty) with procedure to mark a record for delete. Would like to change the picture to waste (bucket filled) in case there are records marked for delete in my table. Can't change the picture waistbucket.ico in any procedure.
 
Instead of changing picture, just make another picture and assign its name to the Picture property of the button:
...Button.Picture = "waistbucket2.ico"

Vlad Grynchyshyn
vgryn@softserve.lviv.ua
The professional level of programmer could be determined by level of stupidity of his/her bugs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top