Table field
Björnke von Gierke
bvg at mac.com
Sat Jun 23 09:28:47 EDT 2012
To cook yourself the perfect scrolling field, you need:
A graphic:
32 pixels high
at least 1 pixel wide (or more for easier handling, width doesn't matter)
upper 16 pixels white
lower half very light blue or very light grey
Also a list type field (dontwrap= true) with:
textHeight = 16
fixedLineHeight = True
margins (on the "text formatting" part of the inspector): 8,4,8,8
set the backgroundPatter of this field to the image.
Result:
Perfect scrolling list of entries, where the background colors scroll along with the text.
Tip: a textHeight of 16 with the default 11 textSize looks a bit cramped, you can adjust the hight of the lines and the hight of the graphic for other linesizes.
On 21.06.2012, at 23:29, Peter Haworth wrote:
> Thanks Bernd, that looks very nice.
> Pete
> lcSQL Software <http://www.lcsql.com>
>
>
>
> On Thu, Jun 21, 2012 at 2:01 PM, BNig <niggemann at uni-wh.de> wrote:
>
>> Hi Peter,
>>
>> here is my take on the alternating Lines. It uses a graphic with a
>> fillgradient that is behind the non-opaque table field.
>> I made a demo stack:
>>
>> berndniggemann.on-rev.com/alternatingLines/alternatingLines.livecode.zip
>>
>> Kind regards
>>
>> Bernd
>>
>>
>> --
>> View this message in context:
>> http://runtime-revolution.278305.n4.nabble.com/Table-field-tp4651080p4651090.html
>> Sent from the Revolution - User mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> 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
>>
> _______________________________________________
> 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
--
Use an alternative Dictionary viewer:
http://bjoernke.com/bvgdocu/
Chat with other RunRev developers:
http://bjoernke.com/chatrev/
More information about the use-livecode
mailing list