|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Mar 2012
Posts: 3
|
NSdialog and Radio buttons. Close and cancel button not want
Hi All,
I am using radio buttons and nSdialog for creating my installer. However I do not want the default buttons (cancel and close) and instead I want back and next, while the page is displayed. How can I achieve that? Function fnc_sample_Create ; === sample (type: Dialog) === nsDialogs::Create 1018 Pop $hCtl_sample ${If} $hCtl_sample == error Abort ${EndIf} !insertmacro MUI_HEADER_TEXT "Dialog title..." "Dialog subtitle..." ; === GroupBox1 (type: GroupBox) === ${NSD_CreateGroupBox} 22u 19u 222u 91u "Installation Type" Pop $hCtl_sample_GroupBox1 ${NSD_OnClick} $hwnd EnDisableButton ; === RadioButton1 (type: RadioButton) === ${NSD_CreateRadioButton} 35u 34u 129u 18u "Standalone" Pop $hCtl_sample_RadioButton1 ; === RadioButton2 (type: RadioButton) === ${NSD_CreateRadioButton} 35u 55u 129u 18u "Network" Pop $hCtl_sample_RadioButton2 ; === RadioButton3 (type: RadioButton) === ${NSD_CreateRadioButton} 35u 77u 129u 18u "Client" Pop $hCtl_sample_RadioButton3 nsDialogs::Show FunctionEnd |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
Close is only shown on the last page of the installer (usually after installation is complete). It makes absolutely no sense to put a Next button on the last page...
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2012
Posts: 3
|
Got it .. Thank you!
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|