Home > Back-end >  Very vegetables a question why form1 -> why close ->, a pointer form1 is
Very vegetables a question why form1 -> why close ->, a pointer form1 is

Time:10-24

Why form1 - & gt; Why use close - & gt; Pointer, form1 is

CodePudding user response:

Is a pointer, better file extern PACKAGE TForm1 * Form1;

CodePudding user response:

-> Is access pointer member functions and variables

CodePudding user response:

VCL objects must be created on the heap, so, can only use a pointer,

CodePudding user response:

TForm1 * Form1;

Is a pointer

CodePudding user response:

Form1 is indeed a pointer

CodePudding user response:

A pointer, the demon elder brother ~

CodePudding user response:

As demon elder brother say, Form1 is a pointer

CodePudding user response:

Must be a pointer to the

CodePudding user response:

top demon elder brother

CodePudding user response:

All the VCL object must use the new creation
  • Related