Home > Back-end >  This variable is how to write!
This variable is how to write!

Time:10-07

Try Excel_xhggb_w. Close; Except the end;
Excel_xhggb_w:=tExcel_xhggb_w. Create (panel1);
.

Try xhggb_w. Close; Except the end;
Xhggb_w:=txhggb_w. Create (panel1);
.

I have a lot of this process, I would like to use variables instead of

Var
F1: tform;

The begin
F1:=xhggb_w;
The try of f1. Close; Except the end;
F1:=tf1. Create (panel1);
end;


F1:=tf1. Create (panel1); This error!

CodePudding user response:

What is the type tExcel_xhggb_w?

CodePudding user response:

Use with no yao,,
In addition you want tf1. Create the premise is you want to define the tf1 this class, how to create or system,

CodePudding user response:

Define tf1 this kind words how to write

CodePudding user response:

 
Type
Tf1=class
The publish
end;

CodePudding user response:

 type 
Tf1=class
end;
  • Related