it would be nice if I could add objects programmatically.
The basic idea is this:
I create a textbox, create some custom properties in that and save that in a library:
on a form I can then code something like:
forms['thisform'].Newobject("ObjectName","Library","libraryObject",[param1], [param2], [paramnn])
assuming ObjectName would be "mytextbox" I could then later on do something like
forms['thisform'].mytextbox.top = 123
forms['thisform'].mytextbox.left = 456
forms['thisform'].mytextbox.text = "Just created textbox"