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

            亚洲乱码精品久久久久..| 久久精品国产精品青草app| 久久亚洲精品无码aⅴ大香| 精产国品久久一二三产区区别| 日韩乱码人妻无码中文字幕久久| 国产精品久久久久无码av| 久久久国产精品| 精品国际久久久久999波多野| 久久精品综合一区二区三区| 亚洲欧美日韩久久精品第一区| 狠狠久久亚洲欧美专区| 精品久久久久久久久免费影院| 国产精品久久久久影视不卡| 久久精品亚洲AV久久久无码| 国产精品久久久天天影视香蕉| 久久毛片一区二区| 久久99精品久久久久久野外 | 久久久久香蕉视频| 国产成人精品久久二区二区| 人人狠狠综合88综合久久| 久久伊人精品青青草原高清| 中文国产成人精品久久不卡| 久久99精品久久久久久野外| 久久伊人精品青青草原高清| 99久久精品日本一区二区免费| 亚洲国产日韩欧美综合久久| 国产成人综合久久久久久| 久久99国产亚洲高清观看首页 | 香蕉99久久国产综合精品宅男自 | 久久精品国产2020| 久久久久亚洲av成人无码电影 | 一本色道久久88综合日韩精品 | 久久无码专区国产精品发布 | 免费国产99久久久香蕉| 国产精品毛片久久久久久久| 久久久久99精品成人片欧美| 亚洲成色WWW久久网站| 综合久久国产九一剧情麻豆| 久久天天躁狠狠躁夜夜2020一| 亚洲国产高清精品线久久| 亚洲欧美国产精品专区久久|