formattedheight and formattedwidth
pete at mollysrevenge.com
Sun Jun 26 21:42:52 EDT 2011
Yep, that's what I was doing initially but was looking for a way to make it
happen without actually knowing the height and width.
I think I have this working now. I made sure that the topmost control on
each card always had it's topleft set to 10,10 , then I add 20 to each of
the formatted height and formatted width during preOpenCard. That seems to
work just fine.
Molly's Revenge <http://www.mollysrevenge.com>
On Sun, Jun 26, 2011 at 6:12 PM, Robert Brenstein <rjb at robelko.com> wrote:
> On 26.06.2011 at 17:42 Uhr -0700 Pete apparently wrote:
>> I think I will have to use the formatted height and width and be
>> about how much room is around the borders of the controls on each card.
> If your cards vary in size but are static, that is not changed dynamically
> by users, then you could save the desired width and height of each card in
> custom properties and resize each card in preopencard.
> 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