Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Highlight problem in Textbox
Message
De
03/04/2003 05:46:03
 
 
À
03/04/2003 05:13:26
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00773448
Message ID:
00773452
Vues:
9
This message has been marked as the solution to the initial question of the thread.
If you want to block selecting through mouse, in MouseMove event of the textbox use:
Text1.SelLength = 0
If you want to block also selecting through keyboard, the best I think out is to put the same statement also into KeyUp event of the textbox.

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform