geometry and multiple cards in a stack

Martin Baxter martin at atwork.bdx.co.uk
Thu Jan 10 10:49:02 EST 2002


>> Is there a way to update the geometry of the other (or all) cards either
>> when the stack is resized, or when I next go to one of them ?
>>
>> martin baxter
>>
>> m a r t i n
>>
>> martin baxter Cambridge UK

>From: Sarah Reichelt <sarahr at genesearch.com.au>
>Try using the "revUpdateGeometry" command, I suggest in a preOpenCard
>handler.
>
>Sarah

Tx

on preopencard
  revupdategeometry
end preopencard

Does the trick fine, though I wouldn't really have suspected that from it's
entry in the Transcript dictionary!

FWIW, Sending the resizestack message also achieved the desired result but
generated an error message.

martin baxter





More information about the use-livecode mailing list