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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing Properties

Status
Not open for further replies.

lorel

MIS
Jun 15, 2004
158
Since there are more than one developer in my office, we could use a printed listing of the properties we set up for forms, controls etc. By having the properties on paper we assure ourselves that we are using the same settings in diferent areas of the application.
Is is posible to print the properties? If so, how?
I have looked in the help file and my books an I have not being able to find how it is done.
Thanks
Joe
 
One of the methods to do it would be to open your form as a table and then use LIST command.
Something like this would work:

LIST FIELDS ObjName, Properties TO PRINT

or

LIST FIELDS ObjName, Properties TO FILE MyFile.txt
(to format it a little in the file first, then print).

Both, ObjName and Properties are Memo type fields, so you can do to them whatever you can do to Memo fields.
 
Joe,

It should be easy to write a little program that does the following:

- Use AMEMBERS() to get the list of properties into an array (you can filter this to show, for example, only user-defined properties).

- Copy the array to a cursor.

- Run a report which lists the contents of the cursor.

Give it a try.

Mike


Mike Lewis
Edinburgh, Scotland

My Visual Foxpro web site: My Crystal Reports web site:
 
Another way that will show NON DEFAULT properties and method code is to open the class in the object browser and click on the view code button. The listing can be saved or printed but it is invalid to create the class without rewrite.

Regards,

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top