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 
    
  

Reply via email to