I keep getting the above error when trying to run a simple project - a containercontrol with some canvases on it, on a view.
The project was running fine, then closed and reopened and now get this error reported - 3 times. “view1.ccDDGrid1.name Layout(property name) There is no class with this name Name”
Tried rebuilding the containerControl from scratch again - which fixed it until I closed and reopened - and now the error is back again.
Thought it might be a 2017r1 bug but seems to do same thing back in 2016r4.
this usually happens when you have an item (a control etc) that is named the same as some property of the layout or control
like naming a control “Title” when a layout has a “title property”
or a canvas that has a background picture named “index” and a control has an index property
I can’t see anything obvious like that. Here’s a list of the properties defined within the container control.
Public Property arrowDirection as direction
Private Property cellwidth as Integer
Public Property colCount as Integer = -1
Public Property defaultCaption as text
Public Property defaultIcon as iOSImage
Public Property fillBy as fillDirection
Public Property listItems() as menuItem_JP
Public Property rowCount as Integer = -1
Public Property useTxtOrIcons as txtOrIcon
ah I see whats up …
there’s a bug
there’s a couple work arounds
put the enums in the ccDDGrid instead of as global in a module and refer to them as ccDDGrid.direction etc in your code
leave the enums where they are and make the property declarations
arrowDirection as enums.direction
fillby as enums.fillDirection
useTxtOrIcons as enums.txtOrIcon