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

            久久亚洲精品成人无码网站| 亚洲AV日韩精品久久久久久| a级毛片无码兔费真人久久| 久久最新精品国产| 久久涩综合| 久久人与动人物a级毛片| 久久精品国产亚洲av麻豆色欲| 韩国三级大全久久网站| 久久久久综合中文字幕| 热re99久久6国产精品免费| 精品国产婷婷久久久| 久久久久久久精品成人热色戒| 久久99精品国产99久久| 一本一道久久a久久精品综合 | 久久av无码专区亚洲av桃花岛| 久久久久久亚洲精品成人| 欧美成a人片免费看久久| 久久精品国产亚洲av高清漫画 | 亚洲国产精品无码久久SM| 久久中文娱乐网| 久久久国产乱子伦精品作者| 色综合合久久天天给综看| 久久99精品国产麻豆宅宅| 一本久久a久久精品vr综合| 久久99国产精品成人欧美| 精品综合久久久久久888蜜芽| 香港aa三级久久三级老师2021国产三级精品三级在 | 亚洲精品无码久久毛片| 久久婷婷久久一区二区三区| 久久天天躁狠狠躁夜夜网站 | 色综合色天天久久婷婷基地| 99精品久久精品一区二区| 亚洲国产小视频精品久久久三级| 91久久福利国产成人精品| 九九久久99综合一区二区| 99久久精品国内| 97久久天天综合色天天综合色hd| 久久精品中文无码资源站| 无码国内精品久久人妻蜜桃| 日韩精品久久久久久免费| 亚洲级αV无码毛片久久精品|