IO2 Tutorial Text Password

From NSIS Wiki
Jump to navigationJump to search

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=91
  9. Top=85
  10. Right=192
  11. Bottom=99

Notes:

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