Dear gurus and members,
I am new in VB. I have created some images to be used as buttons in VB. I have 4 buttons on a form. These buttons are RESET, RECORD, PLAY and STOP. Each button has 3 events/images (in jpg): mouseOver, mouseClick and default.
When the application is loaded, only RECORD button is enabled (with mouse over feature). When the button is clicked, RESET, STOP button is enabled. Both RESET and STOP buttons have mouseover events as well. When STOP button is clicked, PLAY (and RESET) button is enabled with mouseover event while RECORD button is disabled. If RESET button is clicked, RECORD button is enabled again.
I tried inserting the images using LoadPicture but this method requires the user to have those images stored on their pc as well, when they install and run my application. I wonder whether can I embed these images onto the form. I would like some sample codes on creating mouse over and onClick event. Any sample codes and suggestions are highly appreciated. Hope my description isn't confusing. Look forward to some prompt reply soon and have a pleasant day.
Thanks in advance,
Janice
I am new in VB. I have created some images to be used as buttons in VB. I have 4 buttons on a form. These buttons are RESET, RECORD, PLAY and STOP. Each button has 3 events/images (in jpg): mouseOver, mouseClick and default.
When the application is loaded, only RECORD button is enabled (with mouse over feature). When the button is clicked, RESET, STOP button is enabled. Both RESET and STOP buttons have mouseover events as well. When STOP button is clicked, PLAY (and RESET) button is enabled with mouseover event while RECORD button is disabled. If RESET button is clicked, RECORD button is enabled again.
I tried inserting the images using LoadPicture but this method requires the user to have those images stored on their pc as well, when they install and run my application. I wonder whether can I embed these images onto the form. I would like some sample codes on creating mouse over and onClick event. Any sample codes and suggestions are highly appreciated. Hope my description isn't confusing. Look forward to some prompt reply soon and have a pleasant day.
Thanks in advance,
Janice