General information
Category:
Forms & Form designer
Title:
Pasting into EditBox with MaxLength set
I found this question elsewhere and haven't found anything in my searches. Can anyone explain this?
Create a form with an EditBox. Set the MaxLength to some (small, such as 10) number. Copy 1 character to the clipboard. Run the form and start pasting the character repeatedly into the EditBox.
The EditBox will only allow you to make as many pastes as will be less than the MaxLength. In other words, with 1 character you can do 9 pastes for a total of 9 characters. You can't paste a 10-character string. This is also the case for other MaxLength sizes and _ClipText sizes.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only