gettingstarted
[Top] [All Lists]

Re: PushButton to copy text to clipboard

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: PushButton to copy text to clipboard
From: Joshua Coventry <wackymacs at spymac dot com>
Date: Sun, 30 Jan 2005 16:23:22 +0000
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <BAY2-F10A345BAEF26ED4ABAFF9EDA7B0 at phx dot gbl>
dim c as new clipboard
c.text = editfield1.text
c.close

--------------------
Joshua Coventry

On 30 Jan 2005, at 16:05, Lennox Jacob wrote:
I have a Pushbutton named Copy, I also have an EditField named TextInfo. What I would like is for the text in TextInfo be copied to the Clipboard when the user clicks on the Copy.
What Line of code do I input int the PushButton Action event?
Please help.
Thanks.
Lennox.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>