Hello everyone,
Im trying to do a copy field button inside a datawindow using (Clipboard) function, I let the code down below. It's not working for me, what should I do? It's the function (Clipboard) working as it should?
The code down below is placed on a buttonclicked event inside a datawindow on a window.
string ls_localitzador
CHOOSE CASE dwo.name
case "b_copiar_localitzador"
ls_localitzador = this.GetItemString(this.GetRow(), "refer_reserva")
Clipboard(ls_localitzador)
END CHOOSE
Regards
There is a datawindow function "clipboard" to copy a bitmap image of a datawindow graph control to clipboard. Parameter is the name of the graph control.
And there is a global function "clipboard" to copy a text to clipboard or get a text from clipboard.
If you call "clipboard" from a datawindow event it calls the datawindow function.
To call the global function from a datawindow event you have to call ::clipboard(text)
:)