You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by Giguère, Philippe <Ph...@finances.gouv.qc.ca> on 2010/07/21 18:22:16 UTC

Link button in a TextArea

Hi,

I was wondering if there are a way to have the same effect of a LinkButton on a word in a TextArea. I mean if I click on a particulary word in a TextArea I want the program reacts like I clicked on a button.
I use TextArea for the wrapText property because I need to rewrap the text when I change the size of the window.

There is container like BoxPane with property allowing wraping of components in it ? This can help me too.

Thx a lot for your help !!

Philippe Giguère


------------------------------------------------------------------------
Avis de confidentialité: Ce courriel et les pièces qui y sont
jointes peuvent contenir des renseignements confidentiels qui ne
vous sont pas destinés. Si vous avez reçu cette correspondance par
erreur, veuillez la détruire et nous en aviser. Merci!

Devez-vous vraiment imprimer ce courriel ? Pensons à
l'environnement ...

Re: Link button in a TextArea

Posted by Greg Brown <gk...@mac.com>.
Pivot 2.0 allows you to embed components in a TextArea (which will be renamed RichTextArea some time before release). This may help address your first use case.
G

On Jul 21, 2010, at 1:54 PM, Chris Bartlett wrote:

> 
> A FlowPane lays out components horizontally and wraps when there is not enough room.
> http://pivot.apache.org/tutorials/flow-panes.html
> (You can drag the SplitPane handle left & right to demonstrate the wrapping effect)
> 
> Other layout containers are described here
> http://pivot.apache.org/tutorials/layout-containers.html
> 
> Regards,
> 
> Chris
> 
> 2010/7/21 Giguère, Philippe <Ph...@finances.gouv.qc.ca>
> Hi,
> 
>  
> I was wondering if there are a way to have the same effect of a LinkButton on a word in a TextArea. I mean if I click on a particulary word in a TextArea I want the program reacts like I clicked on a button.
> 
> I use TextArea for the wrapText property because I need to rewrap the text when I change the size of the window.
> 
>  
> There is container like BoxPane with property allowing wraping of components in it ? This can help me too.
> 
>  
> Thx a lot for your help !!
> 
>  
> Philippe Giguère
> 
> Avis de confidentialité: Ce courriel et les pièces qui y sont jointes peuvent contenir des renseignements confidentiels qui ne vous sont pas destinés. Si vous avez reçu cette correspondance par erreur, veuillez la détruire et nous en aviser. Merci!
> 
> Devez-vous vraiment imprimer ce courriel ? Pensons à l'environnement ...
> 


Re: Link button in a TextArea

Posted by Chris Bartlett <cb...@gmail.com>.
A FlowPane lays out components horizontally and wraps when there is not
enough room.
http://pivot.apache.org/tutorials/flow-panes.html
(You can drag the SplitPane handle left & right to demonstrate the wrapping
effect)

Other layout containers are described here
http://pivot.apache.org/tutorials/layout-containers.html

Regards,

Chris

2010/7/21 Giguère, Philippe <Ph...@finances.gouv.qc.ca>

>  Hi,
>
>
>
> I was wondering if there are a way to have the same effect of a LinkButton
> on a word in a TextArea. I mean if I click on a particulary word in a
> TextArea I want the program reacts like I clicked on a button.
>
> I use TextArea for the wrapText property because I need to rewrap the text
> when I change the size of the window.
>
>
>
> There is container like BoxPane with property allowing wraping of
> components in it ? This can help me too.
>
>
>
> Thx a lot for your help !!
>
>
>
> Philippe Giguère
>  ------------------------------
> *Avis de confidentialité:* Ce courriel et les pièces qui y sont jointes
> peuvent contenir des renseignements confidentiels qui ne vous sont pas
> destinés. Si vous avez reçu cette correspondance par erreur, veuillez la
> détruire et nous en aviser. Merci!
>
> Devez-vous vraiment imprimer ce courriel ? Pensons à l'environnement ...
>