Hi everyone, I am writing a small stack to display line graphs. I am using transparent buttons to label the axes. When I wish to clear and draw a new
graph, I am having a problem. I know how to clear the drawn graph but how do I delete the buttons. If I could get a list or collection of all the buttons
on the card, I can destroy them in a loop? I suppose that I could delete the card and create a new one. But is there another way?
Thanks in advance for any help. I will be able to look back in a few hours but then probably not for 2 day. Vic
how do I collect all the buttons on a card?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 7
- Joined: Thu Apr 11, 2013 11:03 pm
-
- Posts: 7
- Joined: Thu Apr 11, 2013 11:03 pm
Re: how do I collect all the buttons on a card?
never mind, I figured it out."repeat with k = 1 to the number of buttons" etc. It is interesting that I struggled with this for 2 nights and as soon as
I posted a question, the answer came to me. Anyhow, I have learned a bit about Livecode looking through the documents. Vic
I posted a question, the answer came to me. Anyhow, I have learned a bit about Livecode looking through the documents. Vic
Re: how do I collect all the buttons on a card?
Bravo.
The hard part is sticking with it until it comes...
Craig Newman
The hard part is sticking with it until it comes...
Craig Newman
-
- Posts: 7
- Joined: Thu Apr 11, 2013 11:03 pm
Re: how do I collect all the buttons on a card?
you are certainly correct Craig. Vic