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

Radians Crossfire AR3 Safety Glasses, Crystal Black Frame, Smoke Lens - RAD16428
$3.7
Radians Crossfire AR3 Safety Glasses, Crystal Black Frame, Smoke Lens - RAD16428 pictureLapis Massage 01 Blue Lazuli Crystal Gemstone Energy Flow Wand, Standard 4" Gift
$102.41
Lapis Massage 01 Blue Lazuli Crystal Gemstone Energy Flow Wand, Standard 4Sunlite 25G16.5/CL/12PK 25W Incandescent G16.5 Globe Crystal Clear Light...
$13.49
Sunlite 25G16.5/CL/12PK 25W Incandescent G16.5 Globe Crystal Clear Light...  pictureHickok 288X Universal Crystal Controlled Signal Generator Operating Manual
$5.0
Hickok 288X Universal Crystal Controlled Signal Generator Operating Manual pictureAcrimet Stackable Letter Tray, Crystal Color (1 Unit)
$15.04
Acrimet Stackable Letter Tray, Crystal Color (1 Unit) picture






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