IO2 Tutorial GroupBox: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Pulled in content from CHM tutorial)
 
No edit summary
 
Line 17: Line 17:
# Right=117  
# Right=117  
# Bottom=101
# Bottom=101
[[Category: Install Options 2 Tutorial]]

Latest revision as of 14:15, 31 October 2006

Tutorial for GroupBox

  1. Place the cursor in the middle of dialog 105 and select insert control.
  2. Choose "GROUPBOX", add some text in the "caption" than hit "ok".
  3. The control will appear in the dialog, you resize and stretch as many times and form you like, see.
  4. Once you finish, with Resource Hacker, hide the dialog.
  5. You'll get the controls units, see.
  6. In the screenshot example, 57 41 60 60, will be the order for Left, Top, Right, Bottom values for the INI.
  7. So this will be, for:
  8. Left=57
  9. Top=41
  10. Right=60+left_value(57)=60+57=117
  11. Bottom=60+Top_value(41)=60+41=101
  12. Create your INI, with the new values:
  13. Left=57
  14. Top=41
  15. Right=117
  16. Bottom=101