Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 27
Registered: ‎05-15-2012
My Device: Dev Alpha B
My Carrier: Bell
Accepted Solution

InvokeTarget call from within text

Hello!

 

A tricky one...I have a Label that contains text:

 

Label {

  id: myLabel

  text: "<html>Trigger InvokeTarget THIS_WORD from here</html>"

}

 

What I want to do is call an invoke target (defined in my app) when the user clicks "THIS_WORD" in the Label...kind of the same way an HTML link is click on and triggers the browser. Anyone know if thi is possible? Could I achieve this by wrapping my "THIS_WORD" into a specific html-style link?

 

Thanks a bunch and happy holidays!

 

Martin

 

 

 

------------------------------------------
Macadamian Technologies Inc.
http://www.macadamian.com/
Developer
Posts: 1,524
Registered: ‎12-18-2012
My Device: Z30, Z10 LE, DevAlpha C, PlayBook

Re: InvokeTarget call from within text

Developer
Posts: 27
Registered: ‎05-15-2012
My Device: Dev Alpha B
My Carrier: Bell

Re: InvokeTarget call from within text

Ah, I had never seen this before... Let me give this a shot

 

Thanks a bunch for the direction!

 

Martin

------------------------------------------
Macadamian Technologies Inc.
http://www.macadamian.com/