Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLEDragDrop Error when calling a Method List_Move()
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
OLEDragDrop Error when calling a Method List_Move()
Miscellaneous
Thread ID:
00533269
Message ID:
00533269
Views:
44
It seems to think that List_Move(from_list, to_list) is a property. List_Move() is a method that exists in a class that I use repeatedly in xfer buttons and dblclick events to xfer data from one list to another. I recently wanted to add the oleDrag&Drop to enhance my program for my customers. It drags and drops perfectly fine with the code from list_move() pasted directly into the OLEDragDrop event, but does not seem to like it when I instead call the list_move() method.

The Error it get is: "Program Error: Property List_Move is not found"

Additionally, i can not use WINDOW DEBUG anywhere I am using OLE so its hard for me to debug this one. Whenever I do it get the following errors: "Program Error: Cancel or Suspend is not allowed."

Thus my question is two fold: Why does it have a problem with my calling a method from an object (oApp.List_Move where oApp=CreateObject("List_Move's class") and Set Classlib to )??

AND why can't a run debug inside OLE?

thanks
matt

ps I posted this once and it didn't seem to show up, so i hope things don't get redundant. IF so my apologizes in advance.
Next
Reply
Map
View

Click here to load this message in the networking platform