🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #17615

Tab control, child dialogs, and tab order

#17615
From: Gary Setter
Date: Sat, 22 Mar 2003 17:12
22 lines
1813 bytes
Hi,

I had posted earlier about a problem with tab controls, child dialogs, and
the resulting tab order.

I have a solution, but maybe not the solution. I'm interested in your
comments.
My source could is posted with the same subject on the attachments ng.

The situation: I want to make editing of each "page" of a tab control easy
by putting them in a child dialog. The child dialogs are defined in the RC
file. When I create the tab control, I create the child dialogs. The child
dialogs' parent is the tab control.

The problem: the controls are not a part of the main dialogs tab order.

A solution: Change the parent of each of the controls to the main dialog.

This seems to work with my toy application. Does this seem like a good way
to go, or not? Your comments are welcome.

Gary
Technical Details
Message-ID: <3e7dc0e1$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,c60cab21534dd2d4,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-24 00:13:30 PST
From: "Gary Setter" <setterg@worldnet.att.net>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Tab control, child dialogs, and tab order
Date: Sat, 22 Mar 2003 11:12:28 -0600
Lines: 23
MIME-Version: 1.0
Content-Type: text/plain;
 charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 12.84.32.240
Message-ID: <3e7dc0e1$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1048428769 12.84.32.240 (23 Mar 2003 06:12:49 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail