Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLEDragDrop Error when calling a Method List_Move()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
OLEDragDrop Error when calling a Method List_Move()
Divers
Thread ID:
00533269
Message ID:
00533269
Vues:
43
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform