Adjusting the size of cards in a stack

Peter Haworth pete at lcsql.com
Tue Jul 8 14:48:02 EDT 2014


On Tue, Jul 8, 2014 at 10:31 AM, Robert Brenstein <rjb at robelko.com> wrote:

> When you have 2 cards of different sizes, it might be simpler to just have
> two stacks (substacks) and switch between them rather than fiddle with
> resizing.


That's what I usually do but it makes sense to have multiple cards in the
same substack in this particular instance.

I have it all working per my original post, just seemed like there might be
an easier way that would be generic (meaning no hard coded values for
height and width) and could apply to any and all cards in the substack
without needing to be changed.  That was the reason for trying
formattedheight and formattedwidth.

Good point on the use of preOpenCard though, maybe I'll try openCard with a
lock screen instead.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>



More information about the use-livecode mailing list