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

Samsung MC17F808KDT 950 Watts With Convection Cook Microwave Oven
$221.99
Samsung MC17F808KDT 950 Watts With Convection Cook Microwave Oven pictureSamsung Bixolon, SRP-770-999, Thermal Label Printer, w/ Power cable
$35.99
Samsung Bixolon, SRP-770-999, Thermal Label Printer, w/ Power cable pictureSamsung Bixolon, SRP-770-999, Thermal Label Printer, No Pow/Ser/Par/USB Cables
$30.0
Samsung Bixolon, SRP-770-999, Thermal Label Printer, No Pow/Ser/Par/USB Cables pictureBvgande Todt Series Tough Case / Samsung Galaxy Tablet / T230 / Black And Red
$20.0
Bvgande Todt Series Tough Case / Samsung Galaxy Tablet / T230 / Black And Red pictureSAM4s Samsung SER-7000 Cash Register
$399.99
SAM4s Samsung SER-7000 Cash Register picture






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