[Lazarus] Mantis bugid 0015390 - showmodal closing when hide called.

zeljko zeljko at holobit.net
Mon Apr 16 20:27:11 CEST 2012


On Monday 16 of April 2012 16:28:09 Justin Smyth wrote:
> I've noted this but was fixed on the 21-2 this year but i've just upgraded
> Lazarus from 35368 to 36784 and have found this issue still exists.
> 
> 
> Basically i Create and ShowModal my applications main form , once it hits
> formshow it starts a thread to monitor another application and once a
> trigger condition is met this form is hidden ( to prevent the user from
> entering data until other applications have finished there data look up)
> and i show the form again once its been populated with new data . but with
> the hide the showmodal exits ( which i dont want to happen, the form hasnt
> closed it just hidden while i wait for some data to come back from another
> application).
> 
> I almost think a variable of IsHidden might be needed so that block of code
> assoated with bugid 15390 doesnt get called ( or the break in that section
> doesnt get called).
> 
> I can provide code if needed , i'd have to bring it home from work but
> thats ok ( From Telstra) Thanks.

You must provide example. It works for me, also example which is added by 
Stephano today is wrong.

zeljko

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120416/59100980/attachment-0003.html>


More information about the Lazarus mailing list