BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-06-2010, 10: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, 10: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, 12: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

Premium Quality 3-Pocket BLUE APRON Server, Chef, Catering Waist Apron
$6.99
Premium Quality 3-Pocket BLUE APRON Server, Chef, Catering Waist Apron  pictureBunn Portable Server Server 1.5 Gallon (20950.0004)
$115.0
Bunn Portable Server Server 1.5 Gallon (20950.0004) pictureGold Black and Gray marble design waitress server waiter waist apron 3 pockets
$11.0
Gold Black and Gray marble design waitress server waiter waist apron 3 pockets pictureCurtis GEM-3 Gemini 1.5 Gallon Satellite Server **NEW**
$165.0
Curtis GEM-3 Gemini 1.5 Gallon Satellite Server **NEW**  pictureNEW Stainless Steel Server Syrup Pump model 82070
$59.99
NEW Stainless Steel Server Syrup Pump model 82070 picture






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