zoukankan      html  css  js  c++  java
  • delphi中 formclose的事件 action:=cafree form:=nil分别是什么意思?

    MDI子窗体关闭时用到的
    (以下摘自Delphi的帮助)
    caNone  The form is not allowed to close, so nothing happens.
    caHide  The form is not closed, but just hidden. Your application can still access a hidden form.
    caFree  The form is closed and all allocated memory for the form is freed.
    caMinimize  The form is minimized, rather than closed. This is the default action for MDI child forms.

    Action := caFree; Form关闭后释放占用的内存
    The form is closed and all allocated memory for the form is freed.
    Form关闭并释放所有分配给Form的内存。

    Form := nil;      Form对象指向空地址

  • 相关阅读:
    多态
    抽象类和接口
    面向对象3
    类的继承 设计模式
    面向对象2
    面向对象
    复习
    对json的简单认识
    关于AJAX
    PHP配置开发环境
  • 原文地址:https://www.cnblogs.com/jijm123/p/10932239.html
Copyright © 2011-2022 走看看