Typesetting Fields

Sannyasin Brahmanathaswami brahma at hindu.org
Sun Apr 22 23:25:05 EDT 2018


and I am hoping not to deal bloated htmltext, like using template

<p align="center" spacebelow="12"><font size="18" color="#DE3E42">LESSON [[tChapterNum]]</font></p>
<p align="center" spacebelow="0"><font size="18">[[tSubtitle]]</font></p>
<p align="center" spacebelow="1"><font size="18" color="#63AE33"><img src="51276" char="@"></font></p>



------------
    Until we get scrolling working in a datagrid, (on mobile) and also we want it keep simple, I frequently need to create a runtime list from the database.
    
    But the "typesetting tools" in Livecode depend on a field being present. e.g.
    ------
    set the textAlign of line 1 of field "myField" to right
    --------
    Currently you can
    
    lockscreen,
        # populate the fld with all kinds of "tweaking" to look nice
    unlockscreen
    
    But I was looking for a method, similar to the advice
    
    "get all you data in a variable and then show in a field"
    
    So that the field gets a single pixel update
    
    Is there a similar method to this with a field,  where it all laid out ahead of time; and "bingo"  you popular the field in one go  without lockscreen?
    
    BR



More information about the use-livecode mailing list