Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Validataion in Text Box and MSHFlexGrid
Message
De
15/11/2002 03:18:32
 
 
À
15/11/2002 01:03:52
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00723071
Message ID:
00723082
Vues:
11
This message has been marked as the solution to the initial question of the thread.
Hi again :-)
I guess you use my suggestion to enter data into MSHFlexGrid, which is read-only, using TextBox.
In VB there is also Validate event (in your case on TextBox), which you can use to validate user input before writing it to RecordSet behind the MSHFlexGrid.
Remember only that there are possibility this event to not fire. Every control in VB has property CausesValidation with default value True. You should not change this value. It's purpose is for control of raising Validate event. WHEN YOU MOVE FOCUS FROM ONE CONTROL TO ANOTHER, VALIDATE EVENT OF THE FIRST CONTROL IS RAISED ONLY IF CausesValidation PROPERTY OF THE SECOND CONTROL IS SET TO True!

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