[Thread Prev] [Thread Next]
Hi!
Look at the samples. Several of them use this method.
For instance: the button Intoduction in the sample Atoms will make a text
box appear, and the button label will then turn to "Hide Intro". Look at the
button's dialog box, and at the procedures showintro and hideintro:
to showintro
introtext, showtext
set "button6 "label "|Hide Intro|
set "button6 "rule [once [hideintro]]
end
to hideintro
introtext, hidetext
set "button6 "label "Introduction
set "button6 "rule [once [showintro]]
end
AT
-----Original Message-----
From: mwforum-admin@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
[mailto:mwforum-admin@xxxxxxxxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Henry
Wilson
Sent: Wednesday, June 04, 2008 8:44 PM
To: mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Subject:
Hi, How would you do this:
I have a text box that I need to hide. When I press a button, I want
it to hide the text box, and the button will change to 'SHOW" so that
when you click it it shows the text box, and then it changes to hide
again etc..
I remember doing this a long time ago.
Does anyone know how to do this?
Previous by thread:
Re:
Next by thread:
asteroid Game
To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.
|