954,551 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

textbox.text not showing up

I'm trying to get totCust and totRev which are declard in videoBonanzaForm to show up in the summaryForm.textboxes

I have them declared as friends; i've even tried assigning me.textbox.text = "1" and nothing shows up still when I click the Summary button (in videoBonanzaForm).

I open the summary form with summaryForm.showDialog()

<pre><code>Public Class summaryForm

    Private Sub videoLabel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles videoLabel.Click

    End Sub

    Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
        Me.Text = videoBonanzaForm.totCust
    End Sub

    Private Sub TextBox2_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox2.TextChanged
        Me.Text = videoBonanzaForm.totRev
    End Sub

    Private Sub okButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles okButton.Click
        Me.Close()
    End Sub
End Class</code></pre>
Duki
Nearly a Posting Virtuoso
1,475 posts since Jun 2006
Reputation Points: 817
Solved Threads: 32
 

nevermind, got it. Didn't have it in the activated area.

Duki
Nearly a Posting Virtuoso
1,475 posts since Jun 2006
Reputation Points: 817
Solved Threads: 32
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You