Discussion:
copy()
(too old to reply)
Rich - AutoTraker Inc.
2008-10-29 16:09:21 UTC
Permalink
http://www.dbase.com/dBase_CodeLib.asp
And look for clipboard.zip - It uses a DLL

Or in the dUFLP there is Clipb.Cc but all that does is create a form off
screen with an entryfield...
Hello Ken,
On a form I see values
the total value is not linked to a row
It has just a value
bdr = form.eftotal.value
than I copied the amount to an mycopy entryfield gives the form.mycopy
.focus()
this.parent.parent.mycopy.value = bdr
this.parent.parent.mycopy copy()
It works well it is not the question
I want to copy the variable "bdr" directly without the extra entryfield
"form.mycopy"
where I paste it could be anywhere.
The question is: Is it possible to copy the value of an variable
Lets say
bdr.copy()
Ronald
I know how to make copy and paste if there is a field that has focus.
I want to make a copy command
a = "100.00"
a.copy()
That does not work.
I could make an extra field "mycopy", give it the value and the focus
and do as usual.
The question is. Can I copy the variable without the extra field?
Are you trying to use the Windows clipboard?
a does not, by default have a copy() method. The entryfield should.
Take a good look at the entryfield control itself ... it has a copy()
method and a paste() method. However, I am not sure if that is what you
are doing. Please take the time to explain more ... where do you want to
copy the value to? What *exactly* are you trying to do?
Ken Mayer
--
*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase/dBASEBooks.htm
http://www.goldenstag.net/dbase
Rich - AutoTraker Inc.
2008-10-29 17:52:44 UTC
Permalink
I hunted around and found some code to put text on the clipboard that
neither uses a DLL or entryfield. I knew I had something....
It uses API calls and is put into a function that makes it easy to use.
If you want I'll post it for you...
Rich...
Post by Rich - AutoTraker Inc.
http://www.dbase.com/dBase_CodeLib.asp
And look for clipboard.zip - It uses a DLL
Or in the dUFLP there is Clipb.Cc but all that does is create a form off
screen with an entryfield...
Hello Ken,
On a form I see values
the total value is not linked to a row
It has just a value
bdr = form.eftotal.value
than I copied the amount to an mycopy entryfield gives the form.mycopy
.focus()
this.parent.parent.mycopy.value = bdr
this.parent.parent.mycopy copy()
It works well it is not the question
I want to copy the variable "bdr" directly without the extra entryfield
"form.mycopy"
where I paste it could be anywhere.
The question is: Is it possible to copy the value of an variable
Lets say
bdr.copy()
Ronald
I know how to make copy and paste if there is a field that has focus.
I want to make a copy command
a = "100.00"
a.copy()
That does not work.
I could make an extra field "mycopy", give it the value and the focus
and do as usual.
The question is. Can I copy the variable without the extra field?
Are you trying to use the Windows clipboard?
a does not, by default have a copy() method. The entryfield should.
Take a good look at the entryfield control itself ... it has a copy()
method and a paste() method. However, I am not sure if that is what you
are doing. Please take the time to explain more ... where do you want to
copy the value to? What *exactly* are you trying to do?
Ken Mayer
--
*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase/dBASEBooks.htm
http://www.goldenstag.net/dbase
Rich Assaf
2008-10-30 02:50:58 UTC
Permalink
In article <***@news.alldbase.com>, ***@autotraker.com
says...
Post by Rich - AutoTraker Inc.
I hunted around and found some code to put text on the clipboard that
neither uses a DLL or entryfield. I knew I had something....
It uses API calls and is put into a function that makes it easy to use.
If you want I'll post it for you...
Rich...
This would be useful to me, if you would be so kind....

Thanks, Rich
Rich - AutoTraker Inc.
2008-10-30 13:33:50 UTC
Permalink
Uploaded to the codelib newsgroup on George's board
Rich...
Post by Rich Assaf
says...
Post by Rich - AutoTraker Inc.
I hunted around and found some code to put text on the clipboard that
neither uses a DLL or entryfield. I knew I had something....
It uses API calls and is put into a function that makes it easy to use.
If you want I'll post it for you...
Rich...
This would be useful to me, if you would be so kind....
Thanks, Rich
Loading...