Clarion ProPath Help

Using the Universal Path Selection Procedure

Using the Universal Path Selection Procedure

Previous topic Next topic  

Using the Universal Path Selection Procedure

Previous topic Next topic  

To save time, you can use the Utility Template Wizard to import a ProPath Universal Path Select procedure ( WnSelectPath ) into your application.

 

Here is an example of what the WnSelectPath procedure looks like when the user is allowed to select both the MAIN and SYSTEM data locations on an XP computer:

 

 

Note: the examples below are using a feature called ProPath Suggest that allows you to "suggest" a data location based on a combination of template and CSIDL values.

 

clip0146

 

This is what the template generated folder dialog for the MAIN data path looks like:

 

clip0147

 

This is what the template generated folder dialog for the SYSTEM data path looks like:

 

clip0148

 

Note: in both folder dialogs you will notice that the dialog does not open to the ProPath Suggest location.  This is because those folders include levels that do not exist on the computer, so the dialog defaults to the program directory as a starting place.

 

 

Detailed instructions on importing the Universal Path Selection procedure can be found here.

 

Details on designing your own path selection procedure can be found here.