Dear profesors:

I have a Form1, and I call to Form2 as ShowModal.

Then I close the Form2 with the command ModalResult=1 and then program
return were Form2 was called. (this is what I want)

I discovered than the Form2 close, but remain a "ghost" of this Form2 in the screen were it was previusly showed, and I
can´t write over this "ghost".

I try many solutions, but the only one that work was to call a ShowMessagePos() in Form1 after come back from Form2 and the "ghost" dissapear. I hope that this was unnessesary and there is another pretty solution.

I am using Lazarus 0.9.27 beta         FPC 2.2.3         Date 2008-12-29
i386-win32-win32/win64

I will appreciate very much any help with this.

thanks in advance,

yours truly,

Ing. Héctor F. Fiandor
[email protected]


--

Este mensaje le ha llegado mediante el servicio de correo electronico que 
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema 
Nacional de Salud. La persona que envia este correo asume el compromiso de usar 
el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to