BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-06-2010, 11:21 AM   #1 (permalink)
New Member
 
Join Date: Oct 2010
Model: 9500
PIN: N/A
Carrier: developer
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Validation

Please Login to Remove!

Hi all...

I have to highlight the number and email address by validating which are present in text box.Could you give me sample code please?
Offline  
Old 10-06-2010, 11:56 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

You'll have to do a better job of explaining your use-case.

One comment: ActiveAutoTextEditField and ActiveRichTextField will automatically highlight an email address or phone number - this is already built into the class. When a particular "active pattern" is identified, it places the appropriate menu item on the context menu, like "Call 555-1212"
Offline  
Old 10-06-2010, 01:01 PM   #3 (permalink)
New Member
 
Join Date: Oct 2010
Model: 9500
PIN: N/A
Carrier: developer
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank You
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.