Can a Control be made to disclose its properties

J

jalewis999

Does a control have a property count and property names that can be retrieved
through code in the same way as the controls object.
 
A

Allen Browne

Sure. You can loop through the Properties of the Control.

Evidence:
Forms(0).Controls(0).Properties.Count
 
J

jalewis999

Thanks it solved the problem and another problem I had trying to use a
variable "Caption" to replace the constant Caption and others.
 
Top