Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Which event fires in RTFBox98 when DragDrop ends?
Message
De
02/09/2005 16:55:12
 
 
À
02/09/2005 02:45:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
01046052
Message ID:
01046405
Vues:
14
>>Hi,
>>
>>I am trying to perform a DragDrop from a list to a RTFBox98 object. By using OleDrag in manual mode I have been able to drag icon to RTFBox and have it (apparently) track insertion point.
>>
>>However, I have not been able to determine which event fires when the drag operation ends. In reality I don't drag highlighed text but wish to insert some data from a table field and need to know in which method to place the code.
>>
>>I have SET STEP ON and WAIT WINDOW in all the logical methods of RTFBox98 object but have not received a hit. BTW, the RTFBox98 object is contained inside a container (provided by Codemine) so I placed SET STEP ON and WAIT WINDOW in the all logical places of container as well, but no cigar.
>>
>>Any suggestions?
>>
>>TIA,
>>
>>Alex
>
>Hi Alex,
>
>By "RTFBox98", do you mean "RichText.RichtextCtrl.1" ? If so, have you set "RTF.OLEDropMode = 1" ?

Hi Herman, thats for the help. Yes I mean "RichText.RichtextCtrl.1".

The interesting thing is if I set "RTF.OLEDropMode = 1" and save the form, when it is opened again it has a value of 2.

I tried setting RTF.OLEDropMode = 1 in RTFBox98.Init() to guarrantee that value but I'm still not able to get any response from the WAIT WINDOWS or SET STEP ON placed in several methods. Is there any restriction to WAIT WINDOW or SET STEP ON in ActiveX objects?

Perhaps a complication is that the RTFbox98 object is in a VFP Container object (that comes from the Codemine class I use). Maybe the drop actually occurs in that object.

Thanks,

Alex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform