Home > Software engineering >  Refer to PPT of vba command button on the problem of mobile
Refer to PPT of vba command button on the problem of mobile

Time:11-19

Lower left two command buttons (arrow) is to control the SIMS and football mobile
In the common view in the images is transparent to the slide show is has a white background
And mobile will come out a more transparent picture
What is this

CodePudding user response:

I wanted to try it is how to return a responsibility, can the file uploaded to baidu network backup, and then sharing, stick the Shared address here?

CodePudding user response:

Add two other code, let button hidden, moving again, at last, according to the perfect solution to

 
Private Sub CommandButton3_Click ()
CommandButton2. Value=https://bbs.csdn.net/topics/False
CommandButton2. Left=CommandButton2. Left - 10
CommandButton2. Value=https://bbs.csdn.net/topics/True
End Sub

CodePudding user response:

Plus the color and the wrong location, see the following
 
Private Sub CommandButton3_Click ()
CommandButton2. Value=https://bbs.csdn.net/topics/False
CommandButton2. Left=CommandButton2. Left - 10
CommandButton2. Value=https://bbs.csdn.net/topics/True
End Sub

CodePudding user response:

reference 3 floor response: VB amateurs
plus color and the wrong location, see the following
 
Private Sub CommandButton3_Click ()
CommandButton2. Value=https://bbs.csdn.net/topics/False
CommandButton2. Left=CommandButton2. Left - 10
CommandButton2. Value=https://bbs.csdn.net/topics/True
End Sub

The Value of the Value is the state of the button is pressed?
Visible whether is hidden?
[code=vb]
Private Sub CommandButton3_Click ()
CommandButton2. Visible=False
CommandButton2. Left=CommandButton2. Left - 10
CommandButton2. Visible=True
End Sub

CodePudding user response:

reference 4 floor milaoshu1020 response:
Quote: reference 3 floor response: VB amateurs

Plus the color and the wrong location, see the following
 
Private Sub CommandButton3_Click ()
CommandButton2. Value=https://bbs.csdn.net/topics/False
CommandButton2. Left=CommandButton2. Left - 10
CommandButton2. Value=https://bbs.csdn.net/topics/True
End Sub

The Value of the Value is the state of the button is pressed?
Visible whether is hidden?
[code=vb]
Private Sub CommandButton3_Click ()
CommandButton2. Visible=False
CommandButton2. Left=CommandButton2. Left - 10
CommandButton2. Visible=True
End Sub


To to the rightness, hand knock when dialed the wrong number
  •  Tags:  
  • VBA
  • Related