Solved

Different pages for one tabsheet

Posted on 1998-11-29
7
212 Views
Last Modified: 2010-04-04
I have tabsheet : "toolOptionsTabsheet"
It must let to modify tool options(in grafx editor), but for
each tool options must be different. How can I do, so if
i select one tool, options are one, and when i select another, options are another.
Note! I don't want to make this page in run-time
0
Comment
Question by:jack_p50
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 3

Expert Comment

by:philipleighs
Comment Utility
Can you have a different tab sheet for each type of tool inside a PageControl? Maybe set the TabVisible property to false for each tabsheet. Then at run time, set the active page to match the selected tool.

Is this what you mean? If not, give some examples of what you want to happen.
0
 
LVL 8

Expert Comment

by:ZifNab
Comment Utility
More info please.
0
 
LVL 4

Author Comment

by:jack_p50
Comment Utility
how can i create multiple pages?
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 3

Expert Comment

by:philipleighs
Comment Utility
At design time,
Add a TPageControl to your form.
Right click it, click New Page.

You can then add components directly in the new page.
0
 
LVL 8

Expert Comment

by:ZifNab
Comment Utility
yep like philipleighs says.
0
 
LVL 1

Accepted Solution

by:
Oli2 earned 30 total points
Comment Utility
if I understood you right, you have a TPageControl with TTabSheets on it.
Now you need on one TabSheet more than one "Page", let's say on TabSheetTools.

I would add a second PageContol onto the TabSheetTools and set the TabVisible to False.

Again:

PageControl1 with TabSheet1, TabSheet2 and TabSheet3 on Form1
PageControl2 with TabSheet4, TabSheet5 and TabSheet6 on TabSheet1

Did I make clear, what I mean ? I hope so.

At designtime, you can access then TabSheets 4 to 6 by hitting F11 and selecting "TabSheetx" in the Objectinspector. ( I don't know how this is called in the english version )

Good luck, Oli
0
 
LVL 4

Author Comment

by:jack_p50
Comment Utility
Thanx. How don't I thank it myself?
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

728 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

9 Experts available now in Live!

Get 1:1 Help Now