Generate a dialoglist of stylesheets under shared resources?

Does anyone know how to generate a list of the stylesheets stored under shared resources and use that list in a dialog list?

Thanks for you help in advance!

Subject: Generate a dialoglist of stylesheets under shared resources?

You can get the data you need to populate the dialog list by using the SelectStyleSheetResources property of the NotesNoteCollection class and reading the $TITLE field of each Note in the collection.

If it must be a dialog list you’ll need to populate a hidden field during the postopen and postmode change events of the document when it’s in edit mode and then use that hidden field to populate the dialog list.

hth