Hi
Is there any method or function in HMG to send the value or contents of a variable direct to Windows clipboard? Any suggestions will be appreciated.
Send variable value to clipboard
Moderator: Rathinagiri
Re: Send variable value to clipboard
Yes, check c:\MiniGUI\SAMPLES\BASIC\CLIPBOARD\ in Harbour MiniGUI Extended
Regards,
Anand
Regards,
Anand
Re: Send variable value to clipboard
Thank you Anand ji. I'll check.
Regards
Paramvir
Re: Send variable value to clipboard
Thank you Mol for the help.
I also found these details in the HMG reference which may be of help to others:
/*
‘System’ object will allow to read and write (when possible) various operating system properties.
Current implementation allows to access (read and write) the system clipboard and various system properties(read only).
Syntax:
System.Clipboard
System.Clipboard := <cString>
System.EmptyClipboard
System.DesktopWidth
System.DesktopHeight
System.DefaultPrinter
System.DesktopFolder
System.MyDocumentsFolder
System.ProgramFilesFolder
System.SystemFolder
System.TempFolder
System.WindowsFolder
Samples:
System.Clipboard := 'a string'
<...>
MsgInfo(System.Clipboard)
<...>
MsgInfo(System.DesktopWidth)
<...>
MsgInfo(System.DesktopHeight)
<...>
MsgInfo(System.DefaultPrinter)
*/