Hi,
I try to get the selected text from the memo, but SelText is empty and SelStart and SelLength are 0.
TMSFNCMemo_Skript.SetFocus;
if TMSFNCMemo_Skript.SelLength>0 then
UniQuery_Main.SQL.Text:=TMSFNCMemo_Skript.SelText
else
UniQuery_Main.SQL.Text:=TMSFNCMemo_Skript.Text;
Thanks.
Best regards
Karsten