>I am trying to type data in a textbox but I am limited on the amount of characters I can type. I have no controlsource assigned to this object and I have also used in the inputmask method. But I can only type in 12 characters and I need to type in at least 25 characters in this textbox.
>How can I do this?
If you don't set the MaxLength to anything, VFP calculates the allowable number of characters from the pixel width of the textbox combined with font size. Just set the MaxLength to what you want - max is 255. You can set it to any larger number you want, but it will still accept no more than 255 characters. If you need more than that, use an editbox. A single line editbox will look like a textbox, but it will allow chr(13) - so you'd need to catch that in KeyPress.