*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
addPasswordField(35, row++, 15, false);
addLabel("Fixed-width password:", 1, row);
addPasswordField(35, row++, 15, true, "hunter2");
addPasswordField(35, row++, 15, false);
addLabel("Fixed-width password:", 1, row);
addPasswordField(35, row++, 15, true, "hunter2");
+ addLabel("Very long text field:", 1, row);
+ TField selected = addField(35, row++, 40, false,
+ "Very very long field text that should be outside the window");
row += 1;
addButton("&Close Window", (getWidth() - 14) / 2, getHeight() - 4,
row += 1;
addButton("&Close Window", (getWidth() - 14) / 2, getHeight() - 4,
statusBar = newStatusBar("Text fields");
statusBar.addShortcutKeypress(kbF1, cmHelp, "Help");
statusBar.addShortcutKeypress(kbF2, cmShell, "Shell");
statusBar = newStatusBar("Text fields");
statusBar.addShortcutKeypress(kbF1, cmHelp, "Help");
statusBar.addShortcutKeypress(kbF2, cmShell, "Shell");