FP2000: Themes "Selected Pages" Option Not Available to Active Server Pages

ID: Q219916


The information in this article applies to:


SYMPTOMS

The "Selected Pages" option is unavailable in the Themes dialog box, when you apply a Theme to an Active Server Page.


RESOLUTION

WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this code "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Method 1: Create a Macro to Apply the Theme to the Active Server Page

The following code example allows you to apply the theme to the Active Server Page:

Sub applyatheme()

'x = MsgBox("Do you want to apply a Theme to this page")
'FileSize = oMyFile.Files("test.asp").Properties

myThemeName = "downtown"
Set myFile = ActiveWeb.RootFolder.Files("test.asp")

'myThemeName = ""

Call myFile.ApplyTheme(myThemeName, fpThemePropertiesAll)

End Sub 

Sub remove_theme()

myThemeName = ""
Set myFile = ActiveWeb.RootFolder.Files("test.asp")
Call myFile.ApplyTheme(myThemeName, fpThemePropertiesAll)

End Sub 

Method 2: Using the "Selected Pages" Option to Isolate a Theme Applied to an Active Server Page

  1. In the Folder list of Page view, select the Active Server Page to which you want to apply a specific theme.


  2. On the Format menu, click Theme.


  3. In the Themes dialog box, select the Theme you want.


  4. Click OK.


  5. In Folder view, press CTRL + click to select the pages to which you want to apply a different Theme.


  6. On the Format menu, click Theme.


  7. In the Themes dialog box, click to select the "Selected pages" option .


  8. Click to select the theme you want.


  9. Click OK.



MORE INFORMATION

For more information about Active Server Pages, click Microsoft FrontPage Help on the Help menu, type "ASP" in the Answer Wizard, and then click Search to view the topic.


For more information about Themes, click Microsoft FrontPage Help on the Help menu, type "Themes" in the Answer Wizard, and then click Search to view the topic.


Additional query words: FP2K front page


Keywords          : kbdta 
Version           : WINDOWS:
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: July 1, 1999