Home > Back-end >  ~ ~ ~ ~ ~ a novice for help ~ ~ ~ ~ can you tell me the frame variables defined inside out?
~ ~ ~ ~ ~ a novice for help ~ ~ ~ ~ can you tell me the frame variables defined inside out?

Time:10-17

Dynamically create tabsheet, are encapsulated with frame unit controls, but frameunit variables defined inside, such as an array, in the main program how to remove? Good for guidance, in a hurry

CodePudding user response:

The unit name. The variable name: XXX=;

CodePudding user response:

 
TFrame1=class (TFrame)
Private
{Private declarations}
Public
{Public declarations}
A: array [0.. 5] of Integer;
end;

And ordinary form definition there is no difference, in the main program referenced in the writing on Frame1. A;

CodePudding user response:

For example, a form, the name is form1, defined in the public s: a string, call the other window, first of all, introduce the _click (file - & gt; Use the Unit) and then form1. S is ok,

CodePudding user response:

It is ok to use Frame as a control,
  • Related