• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 233
  • Last Modified:

Different pages for one tabsheet

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
jack_p50
Asked:
jack_p50
  • 2
  • 2
  • 2
  • +1
1 Solution
 
philipleighsCommented:
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
 
ZifNabCommented:
More info please.
0
 
jack_p50Author Commented:
how can i create multiple pages?
0
Industry Leaders: 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!

 
philipleighsCommented:
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
 
ZifNabCommented:
yep like philipleighs says.
0
 
Oli2Commented:
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
 
jack_p50Author Commented:
Thanx. How don't I thank it myself?
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now