Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open other Page
#3
Hello kudzu
Thanks.

Yes, I watched the demos.
In the Delphi introduction there is a second page with

TIWForm2.Create (WebApplication) .Show;

opened and displayed.
I have Unit1 and Unit2 with TIWForm1 and TIWForm2 respectively

I integrated Unit2 into Unit1. But none of the spellings lead to any result.

Here is the code
// ------------------------------------------------ ---------------------------
#include <vcl.h>
#pragma hdrstop
#include "Unit1.h"
#include "Unit2.h"
#include "UserSessionUnit.h"
// ------------------------------------------------ ---------------------------
#pragma package (smart_init)
#pragma link "uLoginDlg"
#pragma link "uSecControl"
#pragma link "IWCompGradButton"
#pragma resource "* .dfm"
// ------------------------------------------------ ---------------------------
__fastcall TIWForm1 :: TIWForm1 (TComponent * Owner)
: TIWAppForm (Owner)
{
}
// ------------------------------------------------ ---------------------------
void setAsMainForm () {
TIWForm1 :: SetAsMainForm ();
}
#pragma startup setAsMainForm

void __fastcall TIWForm1 :: IWGradButton1Click (TObject * Sender)
{
TIWForm1-> Show ();
}
// ------------------------------------------------ ---------------------------
Reply


Messages In This Thread
Open other Page - by DL4NSC - 10-21-2020, 05:01 PM
RE: Open other Page - by kudzu - 10-21-2020, 06:24 PM
RE: Open other Page - by DL4NSC - 10-23-2020, 04:08 PM
RE: Open other Page - by DL4NSC - 10-24-2020, 08:21 PM
RE: Open other Page - by kudzu - 10-27-2020, 02:53 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)