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

            久久www免费人成看国产片| 一本色综合久久| 久久精品人人做人人爽电影| 欧美久久综合性欧美| 国产—久久香蕉国产线看观看| 久久久久久久99精品免费观看| 久久香蕉国产线看观看99| 一本久久久久久久| 伊色综合久久之综合久久| 久久精品国产99久久久| 久久免费视频6| 久久久噜噜噜久久中文福利| 精品久久久久中文字| 久久久久亚洲AV无码专区体验| 久久久久人妻一区精品果冻| 狠狠88综合久久久久综合网| 女同久久| 伊人丁香狠狠色综合久久| 久久99久久99精品免视看动漫| 国内精品欧美久久精品| 日韩AV无码久久一区二区 | 久久婷婷人人澡人人| 久久天天躁狠狠躁夜夜躁2O2O| 久久夜色精品国产| 国产69精品久久久久99尤物| 久久精品亚洲中文字幕无码麻豆 | 香蕉久久久久久狠狠色| 久久精品中文字幕久久| 欧美亚洲色综久久精品国产| 狠狠色丁香久久婷婷综合蜜芽五月| 88久久精品无码一区二区毛片| 日本强好片久久久久久AAA| 国产美女亚洲精品久久久综合 | 欧美777精品久久久久网| 久久99亚洲网美利坚合众国| 一本久久a久久精品vr综合| 中文成人无码精品久久久不卡 | 2019久久久高清456| 久久综合九色欧美综合狠狠 | 久久精品国产WWW456C0M| 久久精品国产99国产电影网|