WriteEditEncrypted

Windows management function.

The WriteEditEncrypted function writes an encrypted string into the specified edit field (Not available in WinTask Lite).

Syntax

WriteEditEncrypted(<edit_field>,<encrypted_text>)
or
ret=WriteEditEncrypted(<edit_field>,<encrypted_text>)

Parameters

<edit_field>, string, name of the edit field.

<encrypted_text>, string, encrypted text to write into the edit field.

Return value

Ret, numeric return code. When the write is successful, the function returns 0, otherwise use this return code for Error Handling.

Remarks

To encrypt the string you want to send in the edit field, use Insert/Encrypted string menu option or Encrypt statement.

Examples

 

WriteEditEncrypted("1", "H9hfSsHbGkkF1qj")

 
text$="H9hfSsHbGkkF1qj"
var_id$="1"
Result = WriteEditEncrypted(var_id$, text$)