Dear freinds,
I have a big issue which I have been struggling with for days now.
I have a richtextbox where users Can input text and print it. My problem is that i don't want to allow more than one page to be printed so i need to prevent the users in inputting more text than what fits to one page. I have word wrap set to True which means that i really can't count the lines since they are determined by number of return/enter hits. I can't set the character to a max because blank Lines and spaces Can cause this to differ very much.
What i really need i a way to prevent the users in inserting more text than would fit inside the richtextbox frame and the frame may not be resizeble.
Please help me if any goods ideas rises in your heads.