Corruption Of Button Object in IDE

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Simon Knight
Posts: 919
Joined: Wed Nov 04, 2009 11:41 am

Corruption Of Button Object in IDE

Post by Simon Knight » Wed Apr 23, 2014 3:47 pm

I am part way into complex project and I have noted that a button control is becoming corrupted. The corruption takes the form of corrupting the both the name and label value. The button is named OptStatus and has a list of 4 values. The initial value of label should be "All". If I attempt to open the object inspector with the button selected I am presented with the wrist watch cursor and nothing happens. If I open the inspector on another control and then select the button I then see a corruption: e.g name is displayed as : ComboBox Menu and label as : stack "revTemplatePalette", ID 46763. If I then click away and then click back the correct values are displayed. Does anyone know why this is happening and how I can correct it? Will deleting the control help?

Simon K
best wishes
Skids

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10058
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Corruption Of Button Object in IDE

Post by FourthWorld » Wed Apr 23, 2014 4:47 pm

Were the values put into the button by hand or by script? If the latter, we'll need to see the script. If the former, is the problem repeatable when using the Inspector, and does the problem persist if you set those via the Message Box?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply