|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Ive been writing vb6 code for about 3 months now, but cant find anything on making two command buttons switch places, like when you mouseover one then it switches places with the other and vice versa. Ive searched google, and found nothing, i tried
Privatesub command1_click() cmdSwitch.hide cmdShow.show end sub that only works with forms.. Please help thanks rkone |
|
#2
|
||||
|
||||
|
You will need to move it manually, by setting is .Top and .Left properties.
|
|
#3
|
|||
|
|||
|
Command Button Questions
I suggest that you change the caption of the buttons
eg. In the mouseover event of cmdButton1 type: dim strTemp as String strTemp=cmdButton2.caption cmdButton2.caption = cmdButton1.caption cmdButton1.caption=strTemp In the mouseover event of cmdButton2 type: dim strTemp as String strTemp=cmdButton1.caption cmdButton1.caption = cmdButton2.caption cmdButton2.caption=strTemp m |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Command Button Question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
![]() |
|