Solved

Intraweb self-recreate IWForm

Posted on 2010-11-17
2
881 Views
Last Modified: 2013-11-23
Got Intraweb TIWForm which needs to recreate itself.
As it irecreates itself, the older form needs to be released.

If there is no sucj solution.. an alternative delphi (Indy,etc)  TCP implementation is acceptable
TIA


0
Comment
Question by:controlr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
ebob42 earned 500 total points
ID: 34156834
If you create a new form and show it, it will become the topmost of the stack. You can then release yourself.

This can be done in two lines of code:

  TIWFormMain.Create(WebApplication).Show;
  Release

The first one creates the form (assuming the type of the form it TIWFormMain at this time), and then shows it, while the second line releases the current form itself.

I can't help but wonder why you would need this? ;-)
procedure TIWFormMain.IWButton3Click(Sender: TObject);
begin
  TIWFormMain.Create(WebApplication).Show;
  Release
end;

Open in new window

0
 

Author Comment

by:controlr
ID: 34156975
this will take care of the IURL issue.. and probably much faster!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question