I created a simple custom view (among other things it is not "behaving" as I would like). It is composed of very few lines of code.
It works in the designer (this will be a problem for what follows).
I also tried to compile it into a library.
1) You can not add the view in the code, because ... it is not a view!
2) The methods listed by the IDE include:
Base_Click
Class_Globals
DesignerCreateView
Initialize (target as object, as string EventName)
They are not ideal for a view and should still be hidden (private).
3) In the test project I use the Klaus' module Scale, which requires the JavaObject library. Although I have signed this module with the attribute # ExcludeFromLibrary: True, my library requires JavaObject.
I know, a lot of things that I have written are obvious, but for those who have already created custom views and libraries
It works in the designer (this will be a problem for what follows).
I also tried to compile it into a library.
1) You can not add the view in the code, because ... it is not a view!
2) The methods listed by the IDE include:
Base_Click
Class_Globals
DesignerCreateView
Initialize (target as object, as string EventName)
They are not ideal for a view and should still be hidden (private).
3) In the test project I use the Klaus' module Scale, which requires the JavaObject library. Although I have signed this module with the attribute # ExcludeFromLibrary: True, my library requires JavaObject.
I know, a lot of things that I have written are obvious, but for those who have already created custom views and libraries
Last edited: