formattedheight and formattedwidth

Pete pete at mollysrevenge.com
Sun Jun 26 20:42:52 CDT 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.

Pete
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
>> consistant
>> 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.
>
> Robert
>
>
> ______________________________**_________________
> 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<http://lists.runrev.com/mailman/listinfo/use-livecode>
>
>


More information about the use-livecode mailing list