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





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