indirect addressing groups
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
indirect addressing groups
I have a picture field and multi line text objects as a group. The groups are distributed over the card as 20 copies.
I have my data and want to populate each or the 20 objects with consecutive data.
The user can select to load another 20 sets and so on.
How should I address each of the 20 groups as I put each record into them.
I have my data and want to populate each or the 20 objects with consecutive data.
The user can select to load another 20 sets and so on.
How should I address each of the 20 groups as I put each record into them.
Re: indirect addressing groups
Hi user#606,
We have image objects and field objects!
Didn't you give all of your groups meaningful names? Like "group1" up to "group20"?
This way you can "loop" through all the groups and "fill" them with data.
Best
Klaus
to avoid possible misunderstandings: We do NOT have an image field in LC!user#606 wrote:I have a picture field and multi line text objects as a group.
We have image objects and field objects!
I am really not sure I understand your question!?user#606 wrote:How should I address each of the 20 groups as I put each record into them.
Didn't you give all of your groups meaningful names? Like "group1" up to "group20"?
This way you can "loop" through all the groups and "fill" them with data.
Best
Klaus
Re: indirect addressing groups
Your very best introduction to the structure of a stack and its cards and objects will be among the Scripting Conferences, updated and kindly hosted by jacque.
http://www.hyperactivesw.com/revscriptc ... ences.html
Work through these - it only takes a short while for each one, but will give you a much more succinct understanding of how to address your controls and coding, even if not all of them are directly related to your original question. (There are several that will deal very specifically with the question above.)
http://www.hyperactivesw.com/revscriptc ... ences.html
Work through these - it only takes a short while for each one, but will give you a much more succinct understanding of how to address your controls and coding, even if not all of them are directly related to your original question. (There are several that will deal very specifically with the question above.)
Re: indirect addressing groups
What everyone said.
We are here day and night, and will answer all your questions.
All.
But you must learn the fundamentals on your own. We cannot teach that, and you will not be able to benefit from our fabulous help unless you work through this.
So learn how to drive just a little, even though you are gripping the steering wheel with white knuckles. Then your questions, and our answers, will be far more useful to you.
Welcome to LC. Make some silly simple stack, an address book, a calculator, a random number generator, a ransom note writer, anything. You will find such an exercise both thrilling and frustrating. Get going.
Craig Newman
We are here day and night, and will answer all your questions.
All.
But you must learn the fundamentals on your own. We cannot teach that, and you will not be able to benefit from our fabulous help unless you work through this.
So learn how to drive just a little, even though you are gripping the steering wheel with white knuckles. Then your questions, and our answers, will be far more useful to you.
Welcome to LC. Make some silly simple stack, an address book, a calculator, a random number generator, a ransom note writer, anything. You will find such an exercise both thrilling and frustrating. Get going.
Craig Newman
Re: indirect addressing groups
Hello to you who replied. Sorry for not getting back immediately.
Thank you for the tips, they will help me with the planning of this project.
It has been years since I used Livecode. I developed several large projects with the help of Klaus and Craig's advice, to name 2.
LC has changed in subtle ways and what was routine, no longer works as expected. It has thrown me a curve ball, to be honest.
I have always received the best and helpful advice from members here an I an most grateful.
Thank you for the tips, they will help me with the planning of this project.
It has been years since I used Livecode. I developed several large projects with the help of Klaus and Craig's advice, to name 2.
LC has changed in subtle ways and what was routine, no longer works as expected. It has thrown me a curve ball, to be honest.
I have always received the best and helpful advice from members here an I an most grateful.
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: indirect addressing groups
Ideally LiveCode would remain backwardly compatible. The LC team has done an uncommonly good job of maintaining backward compatibility; the number of language tokens deprecated over the 19 years I've been using it could probably be counted on my fingers. I've seen few other languages do as well with this as LC.user#606 wrote:LC has changed in subtle ways and what was routine, no longer works as expected. It has thrown me a curve ball, to be honest.
If you're seeing differences, some of those may be changes to behavior necessary for newer systems. Or they may be caused by a bug in the newer version, or by the fixing of bugs that were in the older version. The only way to know which is the case here is to learn more about what you've encountered.
What are you seeing that's different?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: indirect addressing groups
Hi Forthworld.
Well, and I am embarrassed to admit this, it took me ages to realise that when I dragged an object to the card, it just vanished. This went on for an hour, as I read through to find out what had gone wrong. It seems the drop will only be accepted if the card goes green. I had to drag over a central region. In the past, It was just a matter of being on the card. OK, this was just one thing, but there were other changes that needed to be examined and understood.
Well, and I am embarrassed to admit this, it took me ages to realise that when I dragged an object to the card, it just vanished. This went on for an hour, as I read through to find out what had gone wrong. It seems the drop will only be accepted if the card goes green. I had to drag over a central region. In the past, It was just a matter of being on the card. OK, this was just one thing, but there were other changes that needed to be examined and understood.