Can a Control be made to disclose its properties

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does a control have a property count and property names that can be retrieved
through code in the same way as the controls object.
 
Sure. You can loop through the Properties of the Control.

Evidence:
Forms(0).Controls(0).Properties.Count
 
Thanks it solved the problem and another problem I had trying to use a
variable "Caption" to replace the constant Caption and others.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top