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

Justin Smyth delphian at smythconsulting.net
Tue Apr 17 11:05:08 CEST 2012


Yeah i will bring post a example over the next few days


what plat forms was it tested on ?
  ----- Original Message ----- 
  From: zeljko 
  To: lazarus at lists.lazarus.freepascal.org ; Justin Smyth 
  Sent: Tuesday, April 17, 2012 4:27 AM
  Subject: Re: [Lazarus] Mantis bugid 0015390 - showmodal closing when hide called.


  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/20120417/5baf4ddb/attachment-0003.html>


More information about the Lazarus mailing list