On Fri, 2 Jun 2000, Sivakatirswami wrote:
> I have the following in a card where I made a small polygon arrow to serve
> as a "go next" object. initially it was only on this one card and the hide
> cammand in the preopencard handler and the show with dissolve in the
> opencard handler, worked fine. but as soon as i selected the graphic and
> grouped it and applied it as a background to subsequent cards, the
>
> show grc "go next" with dissolve
>
> Doesn't work. Nothing appears. . .but if i type go next in the message box
> it will go to the next card and the grc is no longer hidden.
>
> on preopenCard
> hide fld "HATitle1"
> hide fld "HATitle2"
> wait 1 sec
> show button "leftFoot"
> show button "rightFoot"
> set the loc of button "leftFoot" to 742,570
> set the loc of button "rightFoot" to 774,528
> hide image "StandardMouseGray.gif"
> hide grc "go next"
> set the loc of image "TitleGraphic_w_Lion.gif" to -555,-555
> end preopenCard
> on opencard
> show fld "HAtitle1" with visual wipe right
> show fld "HAtitle2" with visual wipe right
> wait 20 ticks
> repeat 8 times
> move button "rightFoot" relative -82,-15 in 15 ticks
> move button "leftFoot" relative -82,-15 in 15 ticks
> end repeat
> show image "StandardMouseGray.gif" with dissolve slowly
> wait 20 ticks
> move image "TitleGraphic_w_Lion.gif" from 800,-100 to 526,179 in 40 ticks
> show grc "go next" with dissolve slowly
> # the above command is not implemented on screen after
> # having grouped this object. . .but if you go
> # to the next card it is visible.
> end openCard
>
> is this normal? Does grouping an object affect its responses to toggling
> its vis prop with visual effect applied?
What's probably happening is that groups resize to the rect of their
*visible* components when opened, but don't automatically resize when
you show an object. If you set the lockLoc property of the group to
true while the grc is visible, it'll probably do what you want.
Regards,
Scott
> Hinduism Today
>
> Sivakatirswami
> Editor's Assistant/Production Manager
> www.HinduismToday.com
> [EMAIL PROTECTED]
********************************************************
Scott Raney [EMAIL PROTECTED] http://www.metacard.com
MetaCard: You know, there's an easier way to do that...
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.