Microsoft gave me a work-around using Drag/Drop instead of OleDrag/Drop. Apparently, there is a problem use OleDrag in a COM server. They say they are looking into the Ole issue.
With Text1 being the drag-from and Text2 the drop-to,
Basically, I had to set:
Text1.DragMode=1-Automatic
and...
Mike,
I would think this would have come up as a problem before now. I was hoping it was something I missed..
I just now tried the same test on VFP6/W2K and got the same results.
Thanks for your help,
Chet
Mike,
Yes.
I created a simple form with 2 text fields. Text1 with OLEDragMode=1 and Text2 with OLEDropMode=1-Enabled.
Running the EXE directly, I can drag-drop from Text1 to Text2 no problem.
Running as COM server, clicking on Text1, the cursor image remains as a pointer (like it wants to...
Thanks Mike..
I had already tried that and no luck. I was hoping there was some other setting or something. I'll let you know if I figure it out.
Thanks again..
Chet
Yes Mike, it does drag and drop when run directly as an EXE.
I set the OLEDragMode=1-Automatic for the objects that require Drag capabilities.
When I'm running directly, I select the field, hold the click and the cursor image changes to indicate a drag is in process. But, running as COM...
This COM server application does function in all other user interactive areas, except for Dragging. And other User Interactive applications that I set up as COM servers work OK.
I simply used the 'Win32 Executable/COM Server (exe)' build option..
Hello All,
I have a VFP8 EXE application in which I use OLE Drag/Drop between a few objects on the screen. I've also added an OLE Public Class to the application, so I can run it from other apps. Which works, except for one problem, I can't Drag anything. When I simply run the EXE I can...
Tamar,
I am mixing apples and oranges, I'm mixing READs and READ EVENTs. What I want to be able to do is popup an event driven process while in the middle of a READ.
I managed (I think) to figure out a workaround. It seems that the _screen.themes=.f. does not take effect until a READ EVENTS...
Hello All,
We are currently in the process of getting some very old dBase code running in a VFP8 environment. Things are going fairly well. The following code is a short sample of how we're are going about it.
Basically, create and activate a window and let the old code populate the window...
Hello All,
Is there a way if not allowing a user to resize a form, as by grabbing the side, bottom or corner of a form and dragging it smaller? I tried using the resize() event to set the the form to the original size, but that still allows them to make the form smaller.
The problem is, this...
Kstocker,
I know it's been some time since you posted this question and I'm not sure whether your problem's been resolved, but I was combing the archives for an answer to a problem I'm having and ran into your post.
I'm doing something similar, but I'm simply connecting to an ftp site and...
Hi All,
I'm using wininet.dll to handle connecting to the internet. I use InterNetDial to dial and InterNetHangup to disconnect. If I'm in VFP6 running the program from the source code the application dials up just fine and returns a connection handle that I have to use when it's time to...
Hello all,
Please help. A table I use to store MsWord docs in got corrupted the other day. I restored the table from a backup, but now when I browse the table and double click on the general field with the doc store in it, a blank window pops up. If I double click the blank window Word open...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.