Scrolling List Field
Mark Smith
mark at maseurope.net
Mon Aug 14 21:59:04 EDT 2006
Something like this in the button script:
on insertNewItem
put value(the selectedLine of fld "fieldName") into tLine
put tLine after fld "targetField" of stack "mainStack"
end insertNewItem
You can set the textFont property of a line in a field:
set the textFont of line 12 of fld "someField" to "monaco"
Best,
Mark
On 15 Aug 2006, at 00:12, John Baxter wrote:
> I have a scrolling list field on a palette that I want to be able
> to select
> an item, and then click a button to insert the item into a field on
> the
> mainstack.
>
> I also want to be able to mix fonts within the same field on the
> mainstack,
> although on separate lines. I can't set the textfont of the field
> without
> changing all the text to the same font.
>
> Anyone know how to do this?
>
> Thanks for any help you can provide.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list