-
Write ** in the onclose event.
-
close is the normal closing method.
Free and destroy are not closed methods but rather release the created object and do not close the program.
Other closing methods are called by calling the API, such as the way to end the process, which is generally used, and in normal cases, only close is used
-
delphi displays and closes the window through the close of the window and the show of the window, it should be noted that all other windows will be closed after the main window is closed, if the other windows are dynamically created before the show, you need to use ** to start the form after the creation is completed.
-
form1 uses dynamic generation, when :=cafree;
-
The closing of a delphi subwindow triggers the onclose event for that subwindow.
-
Trigger order: Trigger closeQuery event -> trigger onclose event -> trigger ondestroy event.
-
Select From, select Events, OnClose, and double-click to enter the event compilation.
-
;You didn't call, of course not.
And if you don't release formcreate when you close, it will only be called once, so your ** won't be called in it.
-
for i:=0 to do
The front is increased. FormCreate will be called once when the form is created, and will not be called again, because your form is not created every time, it is just hidden and displayed.
-
1. The process of defining the trigger matter at the beginning of all procedures: btnevent(); begin ..Then dynamically set the process to the response of the response controlvar btn : tbutton; begin btn :
end; .Here set the properties of the dynamic control := btnevent(); Assignment end;
-
Your request is unclear and written in the component? Is it still written in the example of the testimonies?
-
"Remain the same"What is the meaning? If you write "no" now, the dialog box closes, and nothing else happens.
-
Added form, device as the main form. Device login interface and write a verification program. You can see the effect when you debug it!
Please modify it yourself as needed.
procedure addlink; >>>More
In form1, write the following **:
Can. >>>More
procedure : tobject);
var sp : tstringlist; >>>More
I don't know what event you put it in, mine is in the paste click of the floating menu.
procedure : tobject);
vararr:array of array of string; >>>More