text size and HTMLtext

Kenji Kojima index at kenjikojima.com
Thu Nov 3 08:11:42 EDT 2011


Hi Yoshino san,

on mouseUp
   put the unicodeText of fld 1 into jText
    repeat with i=10 to 48
          set the textsize of fld "ja" to i
      set the unicodeText of fld "ja" to  jText
          set the textsize of fld "en" to i
          wait 10 ticks
          put i into msg
    end repeat
end mouseUp
	
--
Kenji Kojima / 小島健治
http://www.kenjikojima.com/	





On Nov 3, 2011, at 3:51 AM, 吉野 孝 wrote:

> Hi,
> 
> I have a question about text size and HTMLtext. 
> 
> I want to use Japanese text in my LiveCode stacks.
> I can input Japanese text to a field by only using HTMLtext.
> 
> But, I don't  change text size of Japanese font size.
> English font can change.
> 
> Here is my sample script.
> 
> on mouseUp
>  repeat with i=10 to 48
>     set the textsize of fld "ja" to i
>     set the textsize of fld "en" to i
>     wait 10 ticks
>     put i into msg
>  end repeat
> end mouseUp
> 
> I need your help.
> 
> _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
> Takashi Yoshino 
> http://www.wakayama-u.ac.jp/~yoshino/lab/
> Tel: +81-73-457-8441
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list