• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆 - 1, 文章 - 9, 評論 - 4, 引用 - 0
            數據加載中……

            OnClose

            Occurs when the form closes.

            enum TCloseAction { caNone, caHide, caFree, caMinimize };
            typedef void __fastcall (__closure *TCloseEvent)(System::TObject* Sender, TCloseAction &Action);
            __property TCloseEvent OnClose = {read=FOnClose, write=FOnClose, stored=IsForm};

            Description

            Use OnClose to perform special processing when the form closes. The OnClose event specifies which event handler to call when a form is about to close. The handler specified by OnClose might, for example, test to make sure all fields in a data-entry form have valid contents before allowing the form to close.

            A form is closed by the Close method or when the user chooses Close from the form's system menu.

            The TCloseEvent type points to a method that handles the closing of a form. The value of the Action parameter determines if the form actually closes. These are the possible values of Action:

            Value    Meaning

            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.

            If a form is an MDI child form, and its BorderIcons property is biMinimize, then the default Action is caMinimize. If a MDI child form does not have these settings, the default Action is caNone, meaning that nothing happens when the user attempts to close the form.

            If a form is an SDI child form, Action defaults to caHide.

            To close the form and free it in an OnClose event, set Action to caFree.

            Note:    When the application shuts down, the main form receives an OnClose event, but any child forms do not receive the OnClose event.

            posted on 2009-01-06 16:26 EiN 閱讀(725) 評論(0)  編輯 收藏 引用 所屬分類: C++Builder

            久久综合九色综合欧美就去吻| 久久丫忘忧草产品| 18岁日韩内射颜射午夜久久成人| 国产一区二区精品久久凹凸| 亚洲午夜福利精品久久| 久久精品国产亚洲av麻豆色欲 | 国产成人精品久久一区二区三区av | 久久久久人妻一区二区三区| 9久久9久久精品| 久久午夜免费视频| 9191精品国产免费久久| 久久精品视频一| 精品国产综合区久久久久久| 久久久噜噜噜久久熟女AA片| 久久久久香蕉视频| 久久久久亚洲AV片无码下载蜜桃| 久久国产成人午夜aⅴ影院| 奇米综合四色77777久久| 亚洲国产精品一区二区三区久久| 久久99国产精品久久99果冻传媒| 亚洲精品无码久久久久去q| 久久九九久精品国产免费直播| 69久久夜色精品国产69| 奇米影视7777久久精品| 99精品久久久久久久婷婷| 久久婷婷国产剧情内射白浆| 久久精品亚洲欧美日韩久久| 亚洲国产成人久久综合一| 国产精品99久久久久久人| 久久久久高潮毛片免费全部播放| 精品多毛少妇人妻AV免费久久| 久久国产精品免费| 久久国产一片免费观看| 国产精品欧美亚洲韩国日本久久| 99久久精品九九亚洲精品| 亚洲午夜精品久久久久久人妖| MM131亚洲国产美女久久| 99久久精品国内| 国产午夜精品久久久久九九| 久久综合色之久久综合| 国产成人综合久久精品红|