title: Add property to user control in vb6
body: <p>I am finding code like this all over the web but it does not seem to work for me,</p>
  
  <pre><code>    Private FText As String
  
  Public Property Get Text() As String
    Text = FText
    lblText.Caption = Text
  End Property
  
  Public Property Let Text(ByVal Value As String)
    FText = Value
  End Property
  </code></pre>
  
  <p>Let me explain more what I am doing, I am creating a command button and the only part I am stuck by is getting the caption for the control. I got the property to show 'Text' and when I type in it set the caption but then when I run the program the caption is erased! What is wrong with the code I am doing?</p>