>hi,
>
> i am new in visual foxpro, i am trying to get a variable,in a Text Box,the first value of this variable is space(30), and i dont want the user to be able to enter more than 30 characters. how do i do?
>
> thanks
Put following code into Init event of your textbox:
this.inputmask=replicate('x',30)
this.value=space(30)
Edward Pikman
Independent Consultant