Text style is hit or miss for me

Roger Eller roger.e.eller at sealedair.com
Fri Jul 7 10:59:44 EDT 2017


That worked perfectly for all but plain.  In my plain button, I had to
write it as:  set the textStyle of the selectedChunk to "plain".

Thank you, Mark!
~Roger


On Fri, Jul 7, 2017 at 10:40 AM, Mark Waddingham via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Hi Roger,
>
> On 2017-07-07 16:36, Roger Eller via use-livecode wrote:
>
>> How do you guys do formatting buttons?
>>
>
> Try
>
>    set the textStyle["bold"] of the selectedChunk to true
>    set the textStyle["italic"] of the selectedChunk to true
>
> Warmest Regards,
>
> Mark.
>
> --
> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
>



More information about the use-livecode mailing list