Solved

How does TAB Controls work

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

706 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now