IO2 Tutorial Label: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Pulled in content from CHM tutorial)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{PageAuthor|Joel}} {{PageAuthor|DannyStaple}}
= Install Options 2 - Tutorial For Labels =
= Install Options 2 - Tutorial For Labels =
# Place the cursor in the middle of dialog 105 and select insert control.  
1 Place the cursor in the middle of dialog 105 and select insert control.
# Choose "label", add some text in the "caption" than hit "ok".  
# The control will appear in the dialog, you resize and stretch as many times and forms you like, see.  
2 Choose "label", add some text in the "caption" than hit "ok".  
# Once you finish, with Resource Hacker, hide the dialog.  
 
# You'll get the controls units, see.  
3 The control will appear in the dialog, you resize and stretch as many times and forms you like.
# In the screenshot example, 61 93 72 9, will be the order for Left, Top, Right, Bottom values for the INI.  
 
# So this will be, for:  
[[File:IOTutorialLabelScreenShot1.png]]
# Left=61  
 
# Top=93  
4 Once you finish, with Resource Hacker, hide the dialog.  
# Right=72+left_value(61)=72+61=133  
 
# Bottom=9+Top_value(93)=9+23=32  
5 You'll get the controls units.  
# Create your INI, with the new values:  
 
# Left=61  
[[File:IOTutorialLabelScreenShot2.png]]
# Top=93  
 
# Right=133  
6 In the screenshot example, 61 93 72 9, will be the order for Left, Top, Right, Bottom values for the INI.  
# Bottom=32
 
7 So this will be, for:
<highlight-nsis>
  Left=61  
  Top=93
  ;Right = 72+left_value(61)=72+61=133  
  Right=133
  ;Bottom = 9+Top_value(93)=9+93=102
  Bottom=32
</highlight-nsis>
 
8 Create your INI, with the new values:  
<highlight-nsis>
  Left=61  
  Top=93  
  Right=133  
  Bottom=102
</highlight-nsis>


[[Category:Install Options 2 Tutorial]]
[[Category:Install Options 2 Tutorial]]

Latest revision as of 14:18, 31 October 2006

Author: Joel (talk, contrib)


Author: DannyStaple (talk, contrib)


Install Options 2 - Tutorial For Labels

1 Place the cursor in the middle of dialog 105 and select insert control.

2 Choose "label", 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 forms you like.

IOTutorialLabelScreenShot1.png

4 Once you finish, with Resource Hacker, hide the dialog.

5 You'll get the controls units.

IOTutorialLabelScreenShot2.png

6 In the screenshot example, 61 93 72 9, will be the order for Left, Top, Right, Bottom values for the INI.

7 So this will be, for:

  Left=61 
  Top=93
  ;Right =  72+left_value(61)=72+61=133 
  Right=133 
  ;Bottom = 9+Top_value(93)=9+93=102 
  Bottom=32

8 Create your INI, with the new values:

  Left=61 
  Top=93 
  Right=133 
  Bottom=102