- Home
·
- Graphics
·
- Change Background color of a picture box using a timer control
Change Background color of a picture box using a timer control
Change Background color of a picture box using a timer control
API Declarations
'insert a picturebox and a timer
Rate Change Background color of a picture box using a timer control
(1(1 Vote))
timer1.interval=1000
endsub
Timer1_timer()
picture1.backcolor=RGB(225,0,0)
if picture1.backcolor=RGB(225,0,0)then
picture1.backcolor=RGB(0,0,225)
else picture1.backcolor=RGB(225,0,0)
end if
endsub
Change Background color of a picture box using a timer control Comments
No comments yet — be the first to post one!
Post a Comment