Text Field in LC 7
pete at lcsql.com
Sun Mar 8 18:32:23 EDT 2015
Very clever Bernd, I like it! I tried it with v6 and v7 and the v7
improvement is great. I still see a little stutter compared to v6 but's
hardly noticeable and certainly way better than before this tweak.
On Sun, Mar 8, 2015 at 12:18 AM BNig <bernd.niggemann at uni-wh.de> wrote:
> Hi Jerry,
> modTableField has the same performance as a similar field (i.e. tabbed
> vScroll on) without "mod".
> The performance of live resizing in LC 7.x.x is less than stellar for a
> field with more than about 1000 lines.
> The overhead of resizeControl in modTableField is negligible.
> Until LC 7.x.x speeds up rendering of text field for larger amount of data
> during live resizing I resorted to a trick.
> When resizing I only leave only 100 lines of data in the field and then
> resizing is quite good. After resizing is done I put the original amount of
> data back into the field.
> I have put up a stack with a sample modTableField that has 5000 lines of
> data that demonstrates this.
> Of course this is a hack but I figure since resizing a stack is not done
> very often the improved performance will compensate for some pecularities.
> But sort order is preserved and selectedLine restored after resizing.
> I think this is better than not being able to live resize the stack at all.
> the resizeStack script is in the card script.
> Kind regards
> View this message in context: http://runtime-revolution.
> 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:
More information about the Use-livecode