• <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
            數(shù)據(jù)加載中……

            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 閱讀(721) 評論(0)  編輯 收藏 引用 所屬分類: C++Builder

            婷婷综合久久中文字幕| 欧美精品丝袜久久久中文字幕 | 中文字幕精品无码久久久久久3D日动漫 | 99久久精品费精品国产| 欧美久久久久久午夜精品| 久久国产劲爆AV内射—百度| 亚洲色欲久久久综合网| 99久久婷婷国产综合精品草原| 久久久久国产亚洲AV麻豆| 久久精品免费一区二区| 青青青国产成人久久111网站| 久久久久国产日韩精品网站| 色欲综合久久中文字幕网| 国产精品免费看久久久香蕉| 伊人久久综合精品无码AV专区| 伊人久久综在合线亚洲2019| 国内精品久久久久影院亚洲| 久久精品无码专区免费青青| 久久有码中文字幕| 久久国产精品国产自线拍免费| 久久久久亚洲av综合波多野结衣| 国产精品18久久久久久vr| 国产精品久久久久久久久久影院| 26uuu久久五月天| 国产精品一久久香蕉国产线看| 久久久www免费人成精品| 精品久久久久久无码人妻蜜桃| 国产成人久久激情91| 久久久久久精品免费看SSS| 久久无码一区二区三区少妇 | 久久香蕉超碰97国产精品| 欧美激情精品久久久久久久九九九| 日本久久久久久中文字幕| 久久se精品一区精品二区| 亚洲中文字幕无码一久久区 | 激情伊人五月天久久综合| 国产69精品久久久久久人妻精品| 欧美日韩中文字幕久久久不卡 | 久久久久亚洲av无码专区| 久久www免费人成看片| 免费无码国产欧美久久18|