Solved

Tabset upside down, delphi 1.0

Posted on 1997-05-26
4
843 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 50 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

726 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