I'm trying to write a custom view which loads a layout file.
For customizing the view I will call RerunDesignerScript but I always get the error "cannot find view" and
"All views in script should be declared."
All views are declared in my custom view class.
I think the problem is that Activity.RerunDesignerScript() expects the variables to be declared in the activity and not in the class. Is it possible to call RerunDesignerScript() in a class module?
Attached is a simple project which shows the problem.
For customizing the view I will call RerunDesignerScript but I always get the error "cannot find view" and
"All views in script should be declared."
All views are declared in my custom view class.
I think the problem is that Activity.RerunDesignerScript() expects the variables to be declared in the activity and not in the class. Is it possible to call RerunDesignerScript() in a class module?
Attached is a simple project which shows the problem.