Solved

How does TAB Controls work

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

832 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