BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-13-2007, 08:55 PM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Nov 2007
Location: atm: Kunming norm: Berlin
Model: 8700v
PIN: N/A
Carrier: ChinaMobile
Posts: 55
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question How to get selected Text from AppMenuItem's context?

Please Login to Remove!

Hello,
my application can be started from different standartApps(eg memoPad). This works great. I can work with the Memo in my App as I wanted to...
Almost...Is there a possibility to just get the SELECTED text out of the BlackBerryMemo.NOTE ? I can't find anything about that ...
Thanks in advance
J
Offline  
Old 11-15-2007, 09:37 PM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Nov 2007
Location: atm: Kunming norm: Berlin
Model: 8700v
PIN: N/A
Carrier: ChinaMobile
Posts: 55
Post Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up kkkkkk

solved it by my self...
Offline  
Old 11-16-2007, 10:16 AM   #3 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Oct 2006
Model: 7103
Carrier: Verizon
Posts: 259
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

how'd you solve it, I'm sure there are others out there looking for a solution to this problem
Offline  
Old 11-20-2007, 02:12 AM   #4 (permalink)
Thumbs Must Hurt
 
Join Date: Nov 2007
Location: atm: Kunming norm: Berlin
Model: 8700v
PIN: N/A
Carrier: ChinaMobile
Posts: 55
Post Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb ...

It's quite simple, if you know where to start...
you can get the activeScreen from the UIApplication. From the active screen you can get the FieldwithFocus. Then you can check whether this field is Selecting at the moment. if so, you can copy the selected text to a clipboard and then put it from the cb to a string of your choice
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

Hobart older dishwasher Sloan vacuum breaker valve repair float kit
$65.0
Hobart older dishwasher Sloan vacuum breaker valve repair float kit pictureReliable Much New 1/4" Mini Brass Ball Valve - Solid Chrome Plated NPT TB
$2.29
Reliable Much New 1/41PC SMC vacuum valve ZR115S1-K25HZ-E
$291.0
1PC SMC vacuum valve ZR115S1-K25HZ-E pictureSparmax TC-501 Single Cylinder Vacuum Pump 110/ 120 VAC
$70.0
Sparmax TC-501 Single Cylinder Vacuum Pump 110/ 120 VAC  pictureMolding Former Thermoforming Material Machine XG-E01 Dental Lab Vacuum Forming
$1071.33
Molding Former Thermoforming Material Machine XG-E01 Dental Lab Vacuum Forming picture






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