Modules as well as Classes must be defined AS your code…
The difference is you can create instances of a CLASS (with NEW as Eli stated)
but there is no such a thing as a “module control” or “module object”
A Module is a “page” that holds code that defines methods, functions and properties, of which any can be PUBLIC (available to the entire application) or PRIVATE (available only to code inside the module)
It is possible (although ill advised) to create ALL of your application code inside a single module.
Thanks for the reply. I was trying to make a struct (structure) by code for a Declare. A struct-like assembly can be made with a module by dragging-and-dropping a control, and I was trying to see if I could make it with straight code.