Hi,
I have a situation where I handle the clipboard in a VB component. In Foxpro I have a EditBox with text on it that I want to copy from and paste to.
On COPY the text from the EditBox is read and passed to the VB component that places the text on the clipboard. It seems to be working fine but when you predefine a string variable with constant value it takes the whole statement i.e. : lcString = "TEST" and passes ALL of that to the VB component in stead of just the string bit. BUT when you select the THISFORM.edtplannotes.TEXT it works? Why?
On PASTE it retrieves the information FROM the clipboard via the VB component. On the line in Foxpro where I set my VB field equal to my EditBox TEXT it tells me the field is readonly BUT the READONLY = .F. And in some instances while I was playing around with the code in Foxpro, it worked but i just pasted a tiny square black block.
Can anyone please help me on this?...Thanks.
I have a situation where I handle the clipboard in a VB component. In Foxpro I have a EditBox with text on it that I want to copy from and paste to.
On COPY the text from the EditBox is read and passed to the VB component that places the text on the clipboard. It seems to be working fine but when you predefine a string variable with constant value it takes the whole statement i.e. : lcString = "TEST" and passes ALL of that to the VB component in stead of just the string bit. BUT when you select the THISFORM.edtplannotes.TEXT it works? Why?
On PASTE it retrieves the information FROM the clipboard via the VB component. On the line in Foxpro where I set my VB field equal to my EditBox TEXT it tells me the field is readonly BUT the READONLY = .F. And in some instances while I was playing around with the code in Foxpro, it worked but i just pasted a tiny square black block.
Can anyone please help me on this?...Thanks.