Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How get objects of a datawindow 1

Status
Not open for further replies.

reevda

Programmer
Sep 30, 2002
16
CH
How can i get the objects of a datawindow with the TAG field filled?
Thanks
 
1. To get a list of objects in the datawindow u can use either the dot notation:

<dw_control>.Object.DataWindow.Objects

or the describe method

<dw_control>.Describe(&quot;DataWindow.Objects&quot;)

This will return a tab separated list of names of objects in the datawindow.

2. I assume you want to know the tag property of the objects. This again you can get using either the dot notation

<dw_control>.Object.<object_name>.Tag

or using the describe method

<dw_control>.Describe(&quot;<object_name>.Tag&quot;)


If you want only for columns in the datawindow, you can use the type property for the object to figure out if it is a column (<dw_control>.Object.<object_name>.Type will return 'column' for a column object and so on)

RT
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top