Community
Showing results for 
Search instead for 
Do you mean 
Reply

Getting the Layout path from code

Copper Contributor
Posts: 119
Country: USA

Getting the Layout path from code

by russell.jones on 01-02-2008 9:55 AM

I'm trying to get the layout folder from code.

Currently I'm using the DatabasePath property and manipulating it.

Is this the best way?

Will the layout folder for a database called path\XYZ.pad always be path\XYZ-database files\Layouts? Is this the same regardless of install language etc.

Thanks

 Russell

Copper Contributor
Posts: 119
Country: USA

Re: Getting the Layout path from code

by TDavis on 01-02-2008 10:44 AM

Hi Russell,

You could do it as you are now, this would work, or you can use the layoutfileinfo.filename under Act.UI.LayoutDesigner Namespace

 Tom