Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple callers - One listener
Message
De
18/11/2003 17:44:42
 
 
À
18/11/2003 17:35:19
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00851190
Message ID:
00851203
Vues:
8
>>I need to retrieve a property value from the sender, How do I get an object reference that I can use to retrieve the Text property?<

The quick answer is that sender *is* your object reference. You need to cast it to your sender object type in order to use the sender's .Text property.
If TypeOf sender Is TextBox Then
   MyText = CType(sender, TextBox).Text
End If
~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform