Hiding background button and show background button on print

Working on making the switch to SuperCard? Many here have done it... ask your questions here.

Hiding background button and show background button on print

Postby Frank Bliss » Mon Feb 09, 2009 10:33 am

Hey just upgraded to the new Supercard, I have been using hypercard for over 10 years now, but my old computers keep dying.

Here is what I am trying to do: Upon hitting the print button, the card hides certain background buttons and then shows them again when printing is done. The scripting I used in my old hypercard was

print card
hide bg button "fink"
show bg button "fink"

This does not work, because it hides all the buttons that I have hid and they do not reappear on my card after I hit the print button.

I would appreciate any help with this... you can email me or just post directly here. Thanks in advance.
slintercom@gmail.com

Frank
Frank Bliss
 
Posts: 1
Joined: Mon Feb 09, 2009 10:25 am

Re: Hiding background button and show background button on print

Postby vinnie-bob » Mon Feb 09, 2009 10:40 am

Try changing the script (in SuperCard) to:

Code: Select all
set the visible of bg btn "fink" to false -- hides the button
print card -- you should hide before printing.
set the visible of bg btn "fink" to true -- shows btn


If this doesn't help, post your code here.

hth.
------
vince
------
User avatar
vinnie-bob
 
Posts: 235
Joined: Sun Jul 06, 2008 10:55 am
Location: Des Moines, Iowa, USA


Return to Upgrading From HyperCard

Who is online

Users browsing this forum: No registered users and 1 guest

cron