IO2 Tutorial Text Password: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 19: Line 19:
#Bottom=14+Top_value(85)=14+85=99  
#Bottom=14+Top_value(85)=14+85=99  
#Create your INI, with the new values:  
#Create your INI, with the new values:  
#Left=91
#Left=65
#Top=85  
#Top=85  
#Right=192  
#Right=192  
#Bottom=85
#Bottom=65


=== Notes: ===
=== Notes: ===

Revision as of 09:45, 22 November 2012

Tutorial for Text & Password

  1. Place the cursor in the middle of dialog 105 and select insert control.
  2. Choose "Edit" than hit "ok".
  3. The control will appear in the dialog, you resize and stretch as many times and forms you like.

IO2TextPassword1.png

  1. Once you finish, with Resource Hacker, hide the dialog.
  2. You'll get the controls units.

IO2TextPassword2.png

  1. In the screenshot example, 91 85 101 14, will be the order for Left, Top, Right, Bottom values for the INI.
  2. So this will be, for:
  3. Left=91
  4. Top=85
  5. Right=101+left_value(91)=101+91=192
  6. Bottom=14+Top_value(85)=14+85=99
  7. Create your INI, with the new values:
  8. Left=65
  9. Top=85
  10. Right=192
  11. Bottom=65

Notes:

  • This is the same for both Text & Password.
  • Type=Text
  • Type=Password