风
风卷残月
Unregistered / Unconfirmed
GUEST, unregistred user!
比如
destructor TCustomForm.Destroy;
begin
MessageBox(0,'TCustomForm.Destroy','Test Destroy',MB_OK);
if not (csDestroying in ComponentState) then GlobalNameSpace.BeginWrite;
try
if OldCreateOrder then DoDestroy;
MergeMenu(False);
if HandleAllocated then DestroyWindowHandle;
Screen.RemoveForm(Self);
FCanvas.Free;
FIcon.Free;
FreeAndNil(FActionLists);
inherited Destroy;
finally
GlobalNameSpace.EndWrite;
end;
end;
让他实现功能, 帮解决问题的来拿分哦
destructor TCustomForm.Destroy;
begin
MessageBox(0,'TCustomForm.Destroy','Test Destroy',MB_OK);
if not (csDestroying in ComponentState) then GlobalNameSpace.BeginWrite;
try
if OldCreateOrder then DoDestroy;
MergeMenu(False);
if HandleAllocated then DestroyWindowHandle;
Screen.RemoveForm(Self);
FCanvas.Free;
FIcon.Free;
FreeAndNil(FActionLists);
inherited Destroy;
finally
GlobalNameSpace.EndWrite;
end;
end;
让他实现功能, 帮解决问题的来拿分哦