I'm new to programming but have been having a problem lately that had me quite stumped 
until I figured it out.  Hopefully, someone can explain why this happens:

Notice the two examples:
Example1:

view layout [button "example" [inform b: layout [toggle "I'm" "Broke" on button 
"Close" [hide-popup]]]]

Example2:

my-layout: layout [button "example" [inform crazy]]
crazy: layout [toggle "I'm" "Broke" on button "close" [hide-popup]]
view my-layout

-------------------------------------------------

Notice in the second example that when you click the example button the second time to 
launch the second face that the item changes to that last selected toggle state.

Seem the problem is related to defining a function with view statements prior to the 
main layout that calls the function containing the statements.  

Anyone want to explain this further....

Paul Tretter




-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to