I get this message when I try to open a window in my project once in every 5-10 times I run it. The control in question is in fact enabled. If in the IDE I set enabled to false and then back to true, the error goes away (until an hour or two later when it pops up again when I Run or Build the project).
The full error dialog is
Location: Common/runctl.cpp:2260
Condition: destProperty
Message: Could not find property ‘Enabled’
If I hit Continue in that dialog, I get a hard crash of the project.
This is the description of the control in the VCP XML file. Enabled is there and set to True:
Begin Cocoa.NSSearchField NSSearchField1
AcceptFocus = True
AcceptTabs = False
Alignment = “”
AllowsExpansionToolTips= False
AutoDeactivate = True
autoresizesSubviews= False
Backdrop = 0
Bold = False
Description = “”
DoubleBuffer = False
DoubleValue = 0.0
Enabled = True
EraseBackground = False
FloatValue = 0.0
FocusRing = True
Height = 22
HelpTag = “”
Index = -2147483648
InitialParent = “”
IntegerValue = 0
IsFlipped = False
Italic = False
Left = 439
LockBottom = False
LockedInPosition= False
LockLeft = False
LockRight = True
LockTop = False
MaxRecentSearches= 0
PlaceholderText = “”
Scope = 0
SendSearchStringImmediately= False
SendWholeSearchString= False
ShowMenu = False
StringValue = “”
TabIndex = 37
TabPanelIndex = 0
TabStop = True
TextFont = “System”
TextSize = 0.0
Top = 8
Transparent = True
Underlined = False
UseFocusRing = False
Visible = True
Width = 262
End
This is running High Sierra 10.3.2 and Xojo 2017R3.
Again, just resetting the Enabled in the IDE (false, then true) temporary allows me to open the window. But inevitably the problem happens again.
I’m stumped.