Shoutbox

UserControl Help - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: UserControl Help (/showthread.php?tid=30336)

UserControl Help by DJeX on 08-23-2004 at 03:03 AM

I'm trying to do something like this from a UserControl:

code:
Private Sub Command2_Click()
UserControl3.TextBox1.Text = ListView5.SelectedItem.SubItems(2)
End Sub


But it says varible not defined, and it highlights Private Sub Command2_Click() and UserControl3.

How do I go from Control To Control?

RE: UserControl Help by RaceProUK on 08-23-2004 at 09:43 AM

That's the right way to do it I believe. Just make sure those controls are defined.


RE: UserControl Help by DJeX on 08-23-2004 at 11:09 PM

How would I define TextBox1 from a UserControl?