[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How does TAB Controls work

Posted on 1997-09-07
2
Medium Priority
?
145 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 100 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

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Loops Section Overview
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month20 days, 10 hours left to enroll

868 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