<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Sorry for the blank post. Here's what's what I forgot:<br>
</p>
<p>I don't know what you are using to check the contents of the
clipboard but FileChooser does copy a list of file path and names
to the clipboard using the mime type "text/uri-list". Perhaps
what you are using only recognizes "text/plain"? <br>
<br>
text/uri-list is a string with a line for each selected file in
the format <a class="moz-txt-link-rfc2396E">"file://"</a> &
URLQuote(path) & CRLF <br>
<br>
If the DirList (left panel) has the focus, the current directory
is the sole content of the list, again in the above format. <br>
<br>
Multi=False has no impact other than to limit the number of
selected files to one. <br>
<br>
Copy is straightforward, which, I assume, is why it's included in
the standard FileChooser menu. Paste, however, is much more
complex and is best handled by the overall program. ie
FileChooser doesn't even understand the difference between a
simple copy and paste or cut and paste <br>
</p>
<br>
<div class="moz-cite-prefix">On 2018-07-11 04:02 AM, Hans Lehmann
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:87a1d761-56f8-b28e-5a48-2065d918c217@gambas-buch.de">Hello,
<br>
<br>
if you select a file in FileChooser (FileChooser.Multi = False),
you can also select the entry 'Copy' in the context menu. But
since there is no menu entry 'Paste' and the ClipBoard is empty, I
consider this menu entry an error. Has anyone gained other
experience and can help me?
<br>
<br>
With kind regards
<br>
<br>
Hans
<br>
gambas-book.net
<br>
<br>
----[ Gambas mailing-list is hosted by <a class="moz-txt-link-freetext" href="https://www.hostsharing.net">https://www.hostsharing.net</a>
]----
<br>
</blockquote>
<br>
</body>
</html>