Delphi
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists Delphi

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old May 31st, 2008, 06:11 AM
Martin Wynne
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Code after showmodal statement

Hi,

The act_new.execute cannor run as it only executes after the form is closed.
What would be the correct way to achieve the act_new.execute in this code?

Put it in the Deactivate or Close event of frm_Client.

regards,

Martin.

Reply With Quote
  #2  
Old May 31st, 2008, 06:11 AM
Dino Lolli
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Code after showmodal statement

Hi Guys



I have the following statement



var

frm_Client : Tfrm_Client;

begin

frm_Client := Tfrm_Client.Create(Self);

try

frm_Client.ShowModal;

frm_Client.Act_New.Execute;

finally

frm_Client.Release;

end;

end;



The act_new.execute cannor run as it only executes after the form is closed.
What would be the correct way to achieve the act_new.execute in this code?



Many thanks



Regards

Dino Lolli





[Non-text portions of this message have been removed]

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists Delphi > Code after showmodal statement


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT