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

Thin Film Deposition Substrate Fixture (Aiwa MDC Kurt Lesker) Mask Vacuum UHV
$645.0
Thin Film Deposition Substrate Fixture (Aiwa MDC Kurt Lesker) Mask Vacuum UHV pictureHakko 394-01 Battery Operated Vacuum Pick-up Tool
$98.48
Hakko 394-01 Battery Operated Vacuum Pick-up Tool pictureEDSYN TSX70 Soldavac SMT Reflow Vacuum Workstation
$750.0
EDSYN TSX70 Soldavac SMT Reflow Vacuum Workstation pictureEVAC ISO Tapered right angled vacuum valve, ISO 100 size, Benkan SCV
$225.0
EVAC ISO Tapered right angled vacuum valve, ISO 100 size, Benkan SCV pictureNor-Cal Products Steel Inline Valve SFLM-KF25 7824930-2, Hand, Lab and Vacuum
$199.0
Nor-Cal Products  Steel Inline Valve SFLM-KF25  7824930-2, Hand, Lab and Vacuum picture






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