set var vPasteText = (CVAL('CLIPBOARDTEXT'))
Dennis McGrath
From: [email protected] [mailto:[email protected]] On Behalf Of Doug Hamilton
Sent: Tuesday, February 17, 2015 4:05 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: PROPERTY PASTEFROMCLIPBOARD
Yeah, that does it. Thanks Karen.
But the pasting is done by a separate button that has the PasteFromClipBoard
property. So to get it to work, I click the Paste button (which pastes the
text into the variable memo control), then click the variable memo control and
then tab off it. The variable vPasteText is then updated.
After the PASTE property, I'll try programmatically setting focus on the
Variable Memo and then off of it.
Seems like extra horsing around - I tried RECALC VARIABLES but that didn't
work. Is there an equivalent PROPERTY command?
Hmm, maybe I'll put the PASTE property in a double-click EEP on the Variable
Memo control itself and then programmatically advance to the next field.
Doug
On 2/17/2015 3:23 PM, Karen Tellef wrote:
Doug: have you "moved off" the variable memo field? This has tripped me up
before. Until you move off the field you haven't "saved" the value into the
variable. You might have to have the eep advance to the next field after the
paste?
Karen
-----Original Message-----
From: Doug Hamilton <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Tue, Feb 17, 2015 3:15 pm
Subject: [RBASE-L] - Re: PROPERTY PASTEFROMCLIPBOARD
Thank you Razzak.
I'm able to run the PasteTextFromClipBoard external form and text gets pasted
into the Variable Memo control (variable = vPasteText) when I click the Paste
button.
But when I sho var, the variable vPasteText is null.
Shouldn't it contain the pasted text?
If I do a Ctrl-V and manually paste text into the Variable Memo control, the
text gets pasted and the variable vPasteText contains the pasted text.
That's what I'm trying to accomplish.
Am I misunderstanding the PasteFromClipBoard property?
Thanks much for your help.
Doug
9.5.5.20214 (32)
On 2/16/2015 6:37 PM, A. Razzak Memon wrote:
At 06:47 PM 2/16/2015, Doug Hamilton wrote:
I give up, how does it work?
I've got a Variable Memo control for the variable vPasteText, component ID
cidPasteText. On a DoubleClick EEP for the Variable Memo, I have:
PROPERTY cidPasteText PASTEFROMCLIPBOARD TRUE
As I TRACE, the text gets pasted into the Variable Memo control, but the
variable vPasteText remains null.
RECALC VARIABLES doesn't work and I've tried TRUE and 'TRUE'.
Attributes Word Wrap, How Hint and Tab Stop are the only ones checked.
None of the Cut, Copy and Paste Settings are checked to prevent the
respective action.
Here's a sample that illustrates the use of such property ...
http://www.Razzak.com/SampleApplications/files/PasteTextFromClipBoard.zip
This is an External Form File and you should be able to run from any
R:BASE eXtreme 9.5 session regardless of the connected database.
Have fun!
Very Best R:egards,
Razzak
--- RBASE-L
=======================3D=======================3
D=
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
=======================3D=======================3
D=
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
=======================3D=======================3
D=
TO UNSUBSCRIBE:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
=======================3D=======================3
D=
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body,
place any
text to search for.
=======================3D=======================3
D=