Information générale
Catégorie:
Fonctions Windows API
Yes, I have the code working in an .exe right now.
It sounds like the culprit is the disabled paste menu command. If your forms are truely modeless, I don't know why this would be disabled....
Best of luck to you!
--Shawn
>>>That's brilliant! Does a similar method work in VFP 3?
>>
>>In 5.0, I had to include the DOEVENTS command or it wouldn't work right. But in 3.0, this command might not be necessary (it's not available in 3.0 if it is neccessary though.... so if it's needed you'll have to get creative :( )
>>
>>Everything else should work.
>>
>>--Shawn
>I aggree with Mike. The concept is great however I have not been able to get the paste into the general field to happen within my EXE in either 3.0 or 5.0. My forms are not modal and I can cut and paste text from the forms just fine. From what I can tell during debugging the paste command on the Edit menu is disabled. The paste works if I do everything from the command window. Have you used this method in an EXE? In the 3.0 version I made a call to the Windows PeekMessage function to replace the DOEVENTS.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement