This solution summarises what we have told the OP in the comments and also gives some reference material.
The OP wants to store various attributes of a form to be referenced later in their program.
The correct way to go about this is to create a class representing the information they want to store about forms
(Hint - you could use the existing
Form Class[
^], or create a new class that
inherits[
^] from it)
If you have more than one instance of a form that you want to record or store or interrogate then you can add each Object to a collection - an array or (probably better) a List.
To get the information out of the object you refer to each objects
Properties[
^]
Give this a go, but do come back with another question if you get stuck