Object's Form Text or Name?

  • Thread starter Thread starter John Rugo
  • Start date Start date
J

John Rugo

Hi All,
I am trying to figure out how to get an object's Form Name or Text value.

If I have a ListView object called LV1, I want it's Parent Name/Text.
Using the Parent Object will not do because the ListView may be contained
within other objects such as Panels, Groups, or Tab Objects.

Any ideas would be appreciated,
John.
 
use the LV1.FindForm( ) method (inherited from Control.FindForm( )) - this
returns an instance of the form the control is on. From that, you'll get all
you want regarding the form - name, text, etc

Imran.
 
Back
Top