Graphite2001 Posted October 3, 2003 Posted October 3, 2003 Hello, VB6 Control (MyControl): 'Contains a Label called Label1 '************************************************* Public Property Let Caption(ByVal New_Caption As String) Label1.Caption() = New_Caption PropertyChanged "Caption" End Property '************************************************* VB.NET 'Supposingly if the following gets called, MyControl (the label in my control) will display "ABC" '************************************************* MyControl.Caption = "ABC" '************************************************* 'However, that's not the case in VB.NET. The control stays the same. However, when i use command window to display it's caption value, it returns "ABC". Any idea? Thank you Anson Quote
Moderators Robby Posted October 3, 2003 Moderators Posted October 3, 2003 Try Text instead of Caption. Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.