and i also have a textbox 2 and i want the 1000 to be deminished whenever i typed in textbox 2 so that i can see how many characters i have typed in textbox 2
Obviously as above this hugely depends on the language, but you can usually get the text in the textbox as a string and subsequently find out the length of the text.
So in Java for instance it'd be something like:
Code:
int remaining = 1000-textBox.getText().length();
countTextBox.setText(Integer.toString(remaining));