Masking not working

when i mask a dynamic textbox with a scrollbar, it only shows the scrollbar, not the text within the text box, why?? please help thanks