Pergunta

Estou usando a tartaruga svn com o Delphi 7 e sempre tenho que verificar o DFM antes de cometer ... mas eu tenho um Delphi 7 DFM que de alguma forma perdeu é formcreate e formca.Eu sei que mover a forma dentro do ide Delphi faz com que o DFM seja modificado (parte superior, esquerda, etc), mas eu duvido altamente que removi os alças do evento manualmente ... então eu estou querendo saber se alguém experimentou algo comoIsto antes.Por favor, compartilhe sua experiência.Obrigado.

Foi útil?

Solução

It sometimes happens, but do not know why. Mostly when using frames or inherited forms, and opening/changing a subframe/subform without opening the forms that use it. Or something like that... Cannot reproduce it, but weird indeed.

Outras dicas

I have used Delphi for many years and it has never happened to me, but if the code is still there you could just double click on the event (FormCreate and FormShow) and they will be assigned again.

I have experienced this when initially sketching out the method and event structure. If I generate event handles, then move on and compile or run the program with an empty event holder, then CodeComplete will remove the empty handler. I have not encountered this problem in situations where the event handler is non-empty.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top