Tamar --
DOEVENTS had no effect -- all those forms just keep piling on top of each other on the screen, waiting for me to presss Ctrl+W
Jim
>>(4) The remaining problem is to assign the unique IDs for all
existing forms is quite easy as well. The following, also from Tamar, almost does the trick:
>>FOR EACH oFile IN _VFP.ActiveProject.Files
>> IF oFile.Type="K"
>> * Open the form either in the Form Designer
>> MODIFY FORM (oFile) NOWAIT
>> AssignUniqueControlIDs()
>> Keyboard '{Ctrl-W}'
>> ENDIF
>>ENDFOR
>>
Unfortunately, the Ctrl+W doesn't work, so the form does not save.
>
>Hi, Jim, I'm just back from vacation and catching up. I suspect the problem with the KEYBOARD is no wait state to fire it. Try adding DOEVENTS right after.
>
>Tamar
Jim Nelson
Newbury Park, CA