Solved

How does TAB Controls work

Posted on 1997-09-07
2
138 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

Suggested Solutions

Title # Comments Views Activity
JAudiorecorder record freezing the app 29 82
Base1 Encode/Decode 3 86
Multi-layered image in FireMonkey 9 67
DBCtrlGrid, Delphi, Scroll 7 32
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

756 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