Hi Scott,
What you report means actually that controls are not updated by
script when displaying card 1 and stay as they are (just the normal
behavior you want to override).
Something in your code prevents this update: a specific lock messages
for instance.
Debug from your navigation code in your list field: you should easily
find what happens :-)
I take the opportunity to correct what I told yesterday when passing
the mouseUp message to the stack's script and storing the custom
property in the control itself:
Of course, it makes no sense ;-)
Status must be stored in one or several card custom properties.
Best Regards from Paris,
Eric Chatonet
Le 27 nov. 06 à 08:22, Scott Kane a écrit :
Hi,
Thanks to Eric I've been using custom properties to set combo boxes
etc. This is really working out well and custom properties are
really cool!! However I seem to have hit a snag. The first saved
card in a stack doesn't hold it's custom property value.
By way of example.
User selects an option from a combo box.
Item is displayed as selected in the combo box
Result is stored in a custom property
Card number two is added and the same procedure as above
Now - card number two, when selected shows the correct user
selection. However - card number 1 seems to inherit whatever
selection was made in the card after it. So if you add 8 cards and
go to card 8 then card 1 (I'm navigating using a scrolling list
box) then card number 1 gets card number 8's custom properties..
This only happens to card number 1. Note that the cards are stored
and saved to a file seperate from the main executable stack. I
thought maybe I had to initialize the custom properties for card
number 1. I tried two methods, first using the options to select
the combo boxes etc in the IDE running the card and that failed to
make a difference. I also tried initializing the custom propeties
directly in the object inspector and that didn't work either.
Any ideas as to what I'm missing? Note that every other regular
field etc on the card works perfectly, just not the combo boxes and
check boxes to which are linked the custom properties on card
number 1.
Thanks in advance for any advice
Scott
------------------------------------------------------------------------
----------------------
http://www.sosmartsoftware.com/ [EMAIL PROTECTED]/
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution