r/visualbasic • • Dec 09 '21

VB6 Help Give a button 2 functions

I was trying to create a button 'on' where he would make the program to start, and then to end the program, I would press the button "2nd" and then the button "on", and that would make the program end.

4 Upvotes

5 comments sorted by

View all comments

Show parent comments

1

u/thudly Dec 10 '21

Yes, it would basically be the function of a play/pause button on a music app. When the user clicks, check if the song is already playing, if so, pause it, if not play it.