Article View: borland.public.cppbuilder.nativeapi
Article #8355MDI, Page Control, Windows
From: zhan wei ming
Date: Wed, 03 Nov 2004 05:27
Date: Wed, 03 Nov 2004 05:27
22 lines
1659 bytes
1659 bytes
Hi Dear Builders, I have posted this at other place but got no answer. I have a MDI application. There are several child forms that can be divided (from function point of view)into two types, say, "graph" and "table". Now I add a page control at the bottom of the parent form and create two tabsheets - graph and table, and resize the pagecontrol to show only the tab. What I want to do is when I click "graph" tab,a group of "graph" child windows show in the windows area and when click "table" tab, "table" children show. One easy way is when user click "table" tab, the program closes all "graph" children forms and shows "table" children. vice versa. However because creating and showing each child is time-consuming, the effect is not ideal. Anyone has better solution for this? Thanks in advance. Zhan Wei Ming
Technical Details
Message-ID:
<41887138@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,64bb84381571b118,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "zhan wei ming" <zhanweiming@hotmail.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: MDI, Page Control, Windows Date: Wed, 3 Nov 2004 13:27:28 +0800 Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 211.136.158.216 Message-ID: <41887138@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1099460920 211.136.158.216 (2 Nov 2004 21:48:40 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail