Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I set values in a form before it is displayed (opened)?
#4
TfmSendMailWEB is the class name, not the instance. You need to store the instance from Create.

Are you new to Delphi?

var
xPage: TfmSendMailWEB;
begin
xPage := TfmSendMailWEB.Create(Self);
xPage.edEmail.Text := 'mail@mail.ru';
xPage.Show;
Reply


Messages In This Thread
RE: How do I set values in a form before it is displayed (opened)? - by kudzu - 01-03-2021, 11:53 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)