Im currently creating an aes en-/decryption program in lazarus. So far, everything is working fine. The only problem i currently have is that i want to copy the output to clipboard. I therefore used the function:
Clipboard.Assign(Edit.Text)
Note: Under the uses section, "Clipbrd" is set in place
When tryping to compile, i'll get the following error:
"aes_unit.pas(80,40) Error: Incompatible type for arg no. 1: Got "TTranslateString", expected "TPersistent""
Is there any way that i can convert the translatestring to a normal string etc. so that i can therefore copy it to my clipboard?