09-18-2008, 01:01 PM
What is the easiest way for blanking out (text)fields on a Terminal Emulator screen ?
If there e.g. 3 fields on the screen having a respective length of 6, 24 and 3 characters I have to set the 'blank'-variable 3 times to the correct length, before setting the value of the TeField.
Isn't there a function like e.g. ".Clear" ?
instead of
If there e.g. 3 fields on the screen having a respective length of 6, 24 and 3 characters I have to set the 'blank'-variable 3 times to the correct length, before setting the value of the TeField.
Isn't there a function like e.g. ".Clear" ?
Code:
TeWindow("short name:=A").TeScreen("CLIENT").TeField("Name").Clear
instead of
Code:
sBlanks = " "
TeWindow("short name:=A").TeScreen("CLIENT").TeField("Name").set sBlanks