Thanks Jacque!
Marty
On 10/8/11 6:34 PM, Marty Knapp wrote:
Is there a way to rename custom properties by script and retain the
contents of the custom properties? I know you can do it with the
inspector, but I would like to be able to do it by script so that my
user's stacks can be updated
Is it possible to save the status of an option menu as a custom property? My
project has two stacks: a launcher stack and an app stack. My option button of
course is in the the app stack. I have looked in the rev archives and did not
find an example on how to do this.
Charles Szasz
Is the app stack then a separate stack from the actual program? Perhaps you
can save that.
Or you can save a file when the stack is closed and load it when the stack is
opened. Save the menuHistory.
Perhaps what you want is a preferences file. There are probably examples
around on
Hi Dar,
The app stack is a separate stack from the launcher stack. I do have
preferences substack that saves the name and other things of the user. If I do
not use custom properties, how do I save the status of the Option button as a
preference?
Charles Szasz
csz...@mac.com
stack. I do have
preferences substack that saves the name and other things of the user. If I
do not use custom properties, how do I save the status of the Option button
as a preference?
Charles Szasz
csz...@mac.com
___
use-livecode
As advised by the good folks on the list, custom properties are capable of
storing Unicode text, but typing it in the Contents window of the property
inspector is not a good idea. Instead, establish the text in a field first,
then assign it to the custom property from the unicodeText of the field
, predictable results with custom properties but not so much with
unicodeText.
So I think your custom prop stuff is probably fine, and any issue you're
seeing may be related to any of the many anomalies in the current
LiveCode implementation of Unicode (being overhauled as we speak, so
rest assured
I was advised to store my Cyrillic constants in custom properties of stack
objects. I forget if it was a personal recommendation or something I read in
a forum. But when I type a Russian word in a custom property box of Property
Inspector, then close and reopen Inspector, my text becomes
Hey Slava,
custom properties are binary, so it should work. What I suspect not to be
working is using the Inspector to set it (I am highly suspicious that it uses
the TEXT of the field, not the UnicodeText and so you lose some bytes).
Try a different field called myInput. Then in a button
Random thougth of the day:
What i always found weird is, the imagedata has a space for alphadata in
itself. it's 4 bits for each pixel, and thus has space for the three colours:
rgb and alpha too... but the fourth one just is always zero.
Meanwhile the text property can't be modified by
Hi
Using 4.5.3 and have a single cd with 20 or 30 itms in a selectable list.
Clicking on a line brings up the corresponding image by setting the imagedata
to the corresponding custom prop of the cd. In OSX and on the iPad simulator
this works fine. The standalone OSX also works fine, but the
That's a fact I never understood. Thanks Scott!
Phil
On 2/3/11 5:06 PM, Scott Rossi wrote:
the text property of an image can refer to
both its image and alphaData together.
--
Phil Davis
PDS Labs
Professional Software Development
http://pdslabs.net
101 - 112 of 112 matches
Mail list logo