I am not an expert but this is simple
Fisrt way is with the commandbutton.
We have one label, one textbox, one commandbutton.
in the command button in click method type this code in:
Thisform.label1.caption=thisform.text1.value
Easy isn't it
The second way without command button is not that easy
In the textbox in the keypress type this code in:
if nkeycode=13
thisform.label1.caption=thisform.text1.value
endif
Third way to do it is without the commandbutton and without typing ENTER
in the textbox in interactivechange type this code in:
thisform.label1.caption=thisform.text1.value
|