How do I set the textStyle from a button?
gcanyon at inspiredlogic.com
Mon Dec 17 20:10:01 EST 2001
At 6:20 PM -0600 12/17/01, Chipp Walters wrote:
>Every time I try from a button:
> set the textStyle of the SelectedChunk to bold
>it doesn't work. It turns out that when the button is pressed, the focus
>leaves the field and the selectedChunk is now empty.
>I know this should be easy...
Try capturing the selection information you need in the mouseDown event.
More information about the Use-livecode