Sorry: usual nonsense of trying to over-complicate matters; this works
superbly;
on menuPick PHONT
set the textFont of fld "fff" to PHONT
end menuPick
on mouseDown
get the fontNames
sort lines of it
put it into btn "OM"
set the label of me to "FONTS"
end mouseDown
Oh, and if
On 2017-12-09 09:33, Richmond Mathewson via use-livecode wrote:
Can anyone tell me why this is not working?
on menuPick PHONT
switch PHONT
set the unicodeText of fld "fff" to PHONT
end switch
end menuPick
on mouseDown
get the fontNames
sort lines of it
put it into btn "OM"
Can anyone tell me why this is not working?
on menuPick PHONT
switch PHONT
set the unicodeText of fld "fff" to PHONT
end switch
end menuPick
on mouseDown
get the fontNames
sort lines of it
put it into btn "OM"
set the label of me to "FONTS"
end mouseDown
Richmond.
_