Oct 20, 2000 #1 Siddiq MIS Sep 23, 2000 46 PK Hi friends... I have general text filed in my form ..with null value if I cut or copy any thing in my word document I want that value in my text field automatically. Plz help me if anyone can.. Thanks and best regards Siddiq [sig][/sig]
Hi friends... I have general text filed in my form ..with null value if I cut or copy any thing in my word document I want that value in my text field automatically. Plz help me if anyone can.. Thanks and best regards Siddiq [sig][/sig]
Oct 20, 2000 #2 ChrisRChamberlain Programmer Mar 23, 2000 3,392 GB Siddiq If I understand you correctly want to paste from the clipboard into a control on a form? (You have copied to the clipboard from Word) Add a new property to the form called pasted In the .Activate event of the form put:- WITH THISFORM [tab]IF !.pasted [tab][tab].ControlName.Value = _CLIPTEXT [tab][tab].pasted = .T. [tab]ENDIF ENDWITH In the .Deactivate event put:- THISFORM.pasted = .F. Chris [sig][/sig] Upvote 0 Downvote
Siddiq If I understand you correctly want to paste from the clipboard into a control on a form? (You have copied to the clipboard from Word) Add a new property to the form called pasted In the .Activate event of the form put:- WITH THISFORM [tab]IF !.pasted [tab][tab].ControlName.Value = _CLIPTEXT [tab][tab].pasted = .T. [tab]ENDIF ENDWITH In the .Deactivate event put:- THISFORM.pasted = .F. Chris [sig][/sig]
Oct 21, 2000 Thread starter #3 Siddiq MIS Sep 23, 2000 46 PK Dear Chris Thanks allot for your help.. it's working perfectly.. once again thanks best regards Siddiq [sig][/sig] Upvote 0 Downvote
Dear Chris Thanks allot for your help.. it's working perfectly.. once again thanks best regards Siddiq [sig][/sig]