Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Tabset upside down, delphi 1.0

Posted on 1997-05-26
4
Medium Priority
?
856 Views
Last Modified: 2008-03-06
Is it possible to do tabset drawing upside down, so that tabset control could be placed on a top.

It needs to be done with tabset or similar control. Not with the tabbednotebook.

And other controls that could make this happen in delphi 1.0
0
Comment
Question by:olmy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 1

Expert Comment

by:sleach
ID: 1336600
It is possible, but it might be a bit difficult.

You would have to draw the TabSet yourself.

To do this, set the Tabset.style property to tsOwnerDraw.

Then write your code in the OnDrawTab event.
The OnDrawTab event includes a TRect object in its list of parameters.  You can use it to get the client area that needs to be drawn.

It would be FAR easier to just go ahead and use the TabbedNotebook component - If that is an option.


0
 
LVL 1

Expert Comment

by:sleach
ID: 1336601
Please reject my answer.  I made a mistake. The OnDrawTab event will only give you the Rect for the actual text.  NOT  the whole TabSet.

My apolagies

0
 
LVL 1

Author Comment

by:olmy
ID: 1336602
no problemos sleach.
0
 
LVL 3

Accepted Solution

by:
mheacock earned 200 total points
ID: 1336603
Two ways to do this:

1)  Flip your monitor 180 degrees.
2)  Create your own component.

Other than those two methods, there is no way to do what you
want without writing you own component to do it.  Sorry.
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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

618 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