VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This code will enter code into the form caption box while form is running!

by Best Programmer (4 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Sun 20th May 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

This code will enter code into the form caption box while form is running!

Rate This code will enter code into the form caption box while form is running!



  Form2.Caption = InputBox("Enter Caption for Fun", "Enter Some Caption", "This is the Best Program Ever")
End Sub
Private Sub mnuExit_Click()
  End
End Sub

Private Sub mnuNext_Click()
  Form3.Show
  Form2.Hide
  If lblPassWord.Visible = True Then
     lblPassWord.Visible = False
  End If
End Sub

Private Sub mnuPass_Click()
  lblPassWord.Caption = InputBox("Enter Caption for Fun", "Enter Some Caption", "This is the Best Program Ever")
  lblPassWord.Visible = True
End Sub

Private Sub mnuPrev_Click()
  Form1.Show
  Form2.Hide
  If lblPassWord.Visible = True Then
     lblPassWord.Visible = False
  End If
End Sub

Download this snippet    Add to My Saved Code

This code will enter code into the form caption box while form is running! Comments

No comments have been posted about This code will enter code into the form caption box while form is running!. Why not be the first to post a comment about This code will enter code into the form caption box while form is running!.

Post your comment

Subject:
Message:
0/1000 characters