Custom Properties Key and Value?
Posted: Sun Jun 28, 2020 7:29 pm
Going through the Academy as a beginner to programming in general.
The instruction says "Now go to the Custom Properties pane in the Inspector (1) and enter "cIsSheep" in the top pane Custom Properties (2), and "true" in the bottom pane Property Contents (3). Later on we are going to use this in our code. A custom property is a way of telling LiveCode that this particular object should behave in a certain way - in this case, like a sheep. Our code will later define what this behavior will be."
Now, there's no longer these two panes "Custom Properties" nor "Property Contents" in the Inspector.
What is the equivalent of these two panes?
I was thinking "Key" and "Value"? (so that Key would be cIsSheep and Value would be "true" but is that right?)
Thank you!
The instruction says "Now go to the Custom Properties pane in the Inspector (1) and enter "cIsSheep" in the top pane Custom Properties (2), and "true" in the bottom pane Property Contents (3). Later on we are going to use this in our code. A custom property is a way of telling LiveCode that this particular object should behave in a certain way - in this case, like a sheep. Our code will later define what this behavior will be."
Now, there's no longer these two panes "Custom Properties" nor "Property Contents" in the Inspector.
What is the equivalent of these two panes?
I was thinking "Key" and "Value"? (so that Key would be cIsSheep and Value would be "true" but is that right?)
Thank you!