Package Win32::GUI::Textfield
Constructor
Methods
LineFromChar(INDEX)
Returns the line where the zero-based INDEX char appears.
MaxLength([CHARS]) Limits the number of characters that the Textfield accept to CHARS, or returns the current limit if no argument is given. To remove the limit (eg. set it to the maximum allowed which is 32k for a single-line Textfield and 64k for a multiline one) set CHARS to 0.
Modified([FLAG]) Gets or sets the modified flag on the textfield.
PasswordChar([CHAR]) Gets or sets the character displayed in place of normal text; if the Textfield has been created with the -password option, the default character is an asterisk (*). Note that by setting this value the text in the textfield will be redrawn using the specified character; if the character is set to zero instead, text will be redrawn as normal
ReadOnly([FLAG]) Gets or sets the readonly flag on the textfield.
ReplaceSel(STRING, [FLAG]) Replaces the current selection in the Textfield with STRING.
Select(START, END) Selects the specified range of characters.
SelectAll() Selects all the text.
Selection() Returns a two elements array containing the current selection start and end.
Events
Change()
Sent when the text in the field is changed by the user.
3 POD Errors
The following errors were encountered while parsing the POD:
- Around line 91:
You can't have =items (as at line 95) unless the first thing after the =over is an =item
- Around line 148:
You can't have =items (as at line 152) unless the first thing after the =over is an =item
- Around line 244:
You can't have =items (as at line 248) unless the first thing after the =over is an =item