Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development

> ## Using the Profile Manager

> This section contains an example that enhances the user profile settings for dynamic browsers, allowing column resizing, moving, and sorting to be saved to the Repository as user preferences. Frank Beusenberg of Progress Software Corporation created the original code for this example. This behavior has been integrated into the framework as a standard feature in a slightly different way. It serves as an excellent example of extending the standard objects, their attributes, and their behavior, as well as using the managers to assist you in this.

> You already know that the framework saves window sizes and positions for each user. This example allows users to change column sizes, column order, and column sorting, and save these as permanent preferences as well.

> This example uses the following Profile Manager calls:

> - `checkProfileDataExists`

> - `getProfileData`

> - `setProfileData`

> In addition, it contains some confirmation questions and messages to put up using the `{aferrortxt.i}` message include file, and the `askQuestion` and `showMessages` calls from the Session Manager API.

> The final result is a pop-up menu, available on browsers where users can select whether selecting a column header should be used to move columns or to sort on a column. They can also save their browser settings or reset to the browser’s original setting, as shown:

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095