Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Intermediate
Aug 21, 1997

Validating Text Entries When a DataCombo Loses Focus

When setting focus to another control, the DataCombo in Sheridan's Data Widgets can be forced to validate the text portion against its list by referencing the DataCombo's IsItemInList property as follows:
 If Not DataCombo1.IsItemInList Then 
'Check if item is in list 
MsgBox "Invalid Data Entered" 
'If not, display an error 
'then do some additional processing 
End If 
Sheridan Software
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date