Hi Priyanka!
These are very simple ....
As per I know here are the ans of your questions..
1) Make text box property "Multiline" to true. It will display multiline as well as accept also.
2)Yes
3)Put a text box and a commond button on your form and
a) You can check keycode in text1_keypress event of text box for 13 (Enter Key) and write the following code..
command1.caption = text1.text
4) I am not able to understand your question
5) Caption property of a control is the text which appears on the control and name property is used to identify that control in programming language (Code).
6)First you should make autoredraw property of the form to TRUE.
and then write this code in commond button click event.
and see the output on the form.
I think this will help you.
Bye
Arun Kumar
B-259, Vaishali Nagar,
Jaipur-302021
Rajasthan
India
|