Solved

How does TAB Controls work

Posted on 1997-09-07
2
140 Views
Last Modified: 2010-04-04
I want to use a tabcontrol for the first time,but am not sure what's the best way to use them. Let's say I want to make a TAB with Books and one with Multimedia (these are ParadoxDB files I already have. NB I know how to make DB navigation/maintenance applications,but not how to use them TABs correctly. Thanks!
0
Comment
Question by:lizzzard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 

Accepted Solution

by:
rammstein earned 50 total points
ID: 1344233
If you wanted to this sort of stuff then you would have to add an 'onChange'-eventhandler that updates the page at runtime.

For your aims, the PageControl-component would be the best suitable component. You'd only have to place a PageControl on your Form then press 'Insert' for a new page (or press the right mousebutton).

The main difference between Pagecontrol and Tabcontrol is that the tabcontrol is like one object (one page) which has to be updated at runtime whilst the pagecontrol-pages can be designed at designtime(several pages).
0
 

Expert Comment

by:rammstein
ID: 1344234
There is an example in Delphi's  \help\examples\tabcntrl\ directory.

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question