最新消息:

离开自定义页面保存设置

nsis 永恒心锁 1532浏览 0评论
!include LogicLib.nsh
!include nsdialogs.nsh
XPStyle on
Page components
Page custom nsdialogspage
Page directory
OutFile "test.exe"
Name "test"
Section "test"
SectionEnd
Var Initialpage
Var Text
Var Text2
Function nsdialogspage
nsDialogs::Create 1018
 Pop $0
 ${If} $Initialpage == ''
 StrCpy $Text "默认值"
 StrCpy $Initialpage "1"
 ${EndIf}
 ${NSD_CreateText} 0 0 80u 12u $Text
 Pop $Text2
 ${NSD_OnChange} $Text2 OnChange
nsDialogs::Show
FunctionEnd
Function OnChange
 Pop $Text2
 ${NSD_GetText} $Text2 $Text
FunctionEnd
永恒心锁,版权所有丨如未注明,均为转载丨本网站采用BY-NC-SA协议进行授权

转载请注明:永恒心锁-分享互联网 » 离开自定义页面保存设置

您必须 登录 才能发表评论!