From ac072faf6443c25f3b79f710227f05970d59cad0 Mon Sep 17 00:00:00 2001 From: kichik Date: Wed, 8 Oct 2003 18:06:55 +0000 Subject: [PATCH] SubCaption for PageEx git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3006 212acab6-be3b-0410-9dea-997c60f758d6 --- Docs/src/attributes.but | 4 +++- Docs/src/pages.but | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Docs/src/attributes.but b/Docs/src/attributes.but index cc936d83..2969f11b 100644 --- a/Docs/src/attributes.but +++ b/Docs/src/attributes.but @@ -40,7 +40,9 @@ Sets the text that is shown (by default it is 'Nullsoft Install System vX.XX') i \c caption -Sets what the titlebars of the installer will display. By default, it is 'Name Setup', where Name is specified with the \R{aname}{Name command}. You can, however, override it with 'MyApp Installer' or whatever. If you specify an empty string (""), the default will be used (you can however specify " " to achieve a blank string) +Sets what the titlebars of the installer will display. By default, it is 'Name Setup', where Name is specified with the \R{aname}{Name command}. You can, however, override it with 'MyApp Installer' or whatever. If you specify an empty string (""), the default will be used (you can however specify " " to achieve a blank string). + +If used inside a \R{pageex}{PageEx} block, it sets the caption for the page. \S2{achangeui} ChangeUI diff --git a/Docs/src/pages.but b/Docs/src/pages.but index ce1e8efe..5db07b48 100644 --- a/Docs/src/pages.but +++ b/Docs/src/pages.but @@ -59,6 +59,8 @@ The list below lists what commands affect the certain page type. Unless mentione \b \R{auninstalltext}{UninstallText} +To set the page caption use \R{acaption}{Caption}. + \S{pagecallbacks_explain} Callbacks Each built-in page has three callback functions. The pre-function, the show-creation function and the leave-function. The pre-function is called right before the page is created, the show-function is called right after it is created and before it is shown and the leave-function is called right after the user has pressed the next button and before the page is left. @@ -121,7 +123,7 @@ Adds an uninstaller page. See the above sections for more information about buil \c [un.](custom|uninstConfirm|license|components|directory|instfiles) -Adds an installer page or an uninstaller page if the un. prefix was used. Every PageEx must have a matching \R{pageexend}{PageExEnd}. In a PageEx block you can set options that are specific to this page and will not be used for other pages. Options that are not set will revert to what was set outside the PageEx block or the default if nothing was set. To set the callback functions for a page set with PageEx use \R{pagecallbacks}{PageCallbacks}. See the above sections for more information about built-in versus custom pages. +Adds an installer page or an uninstaller page if the un. prefix was used. Every PageEx must have a matching \R{pageexend}{PageExEnd}. In a PageEx block you can set options that are specific to this page and will not be used for other pages. Options that are not set will revert to what was set outside the PageEx block or the default if nothing was set. To set the sub-caption for a page use \R{acaption}{Caption} or \R{asubcaption}{SubCaption} to set the default. To set the callback functions for a page set with PageEx use \R{pagecallbacks}{PageCallbacks}. See the above sections for more information about built-in versus custom pages. Example usage: