I found another bug. I modified the sample this way:
#include "FiveWin.ch"
Function Main()
Local oDlg,oGet1,oGet2,cVar1:="Test clipboard", cVar2:=space(30)
DEFINE DIALOG oDlg TITLE "Testing Copy Paste"
@01,01 GET oGet1 VAR cVar1 SIZE 100,12
@03,01 GET oGet2 VAR cVar2 SIZE 100,12
ACTIVATE DIALOG oDlg
Return nil
First:
If you mark the text in the first get and try to insert another text from the clipboard, the old text should be replaced with the new one, but nothing happens. The old text is still there.
Second:
Write some text in the second get, mark this text and insert the text from the clipboard. The old text is not replaced, but the new one is appended to the old one.