Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8855387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:07:26+00:00 2026-06-14T14:07:26+00:00

The only dock style in JVCL that I know that has the auto hide

  • 0

The only dock style in JVCL that I know that has the auto hide function (to pin the dock clients) is JvDockVSNetStyle. I’m using it but I can’t set the size of the inactive pinned panes’ tabs. When hidden, the tabs don’t show the title of the pane, only the name of the active pane is shown. Sorry, I can’t post an example image because that’s my first question.

In the object inpector there is an option called ChannelOption with the ActivePaneSize property. Is there a way to set the inactive pane size so it can show its name? Or maybe there is another dock style that I’m missing that has the same functions?

I’m using C++Builder and JVCL 3.45.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T14:07:27+00:00Added an answer on June 14, 2026 at 2:07 pm

    i did it by commenting out these code parts:

    procedure TJvDockVSChannel.GetBlockRect(Block: TJvDockVSBlock; Index: Integer;
      var ARect: TRect);
    var
      BlockWidth: Integer;
    begin
    // HERE 
    
    //  if Block.VSPane[Index] <> Block.ActivePane then
    //    BlockWidth := Block.InactiveBlockWidth
    //  else
        BlockWidth := Block.ActiveBlockWidth;
    
    <snip>
    
    
    
    procedure TJvDockVSChannel.Paint;
    var
      I: Integer;
    
    <snip>
    
      begin
        VisiblePaneCount := 0;
        for I := 0 to Block.VSPaneCount - 1 do
        begin
          if not Block.VSPane[I].FVisible then
            Continue;
    
          GetBlockRect(Block, I, DrawRect);
          Canvas.Brush.Color := TabColor;
          Canvas.FillRect(DrawRect);
          Canvas.Brush.Color := clGray;
          Canvas.FrameRect(DrawRect);
    
          AdjustImagePos;
          Block.FImageList.Draw(Canvas, DrawRect.Left, DrawRect.Top, I, dsTransparent, itImage);
    
    // HERE 
    //      if Block.ActivePane = Block.VSPane[I] then
          begin
            if Align in [alTop, alBottom] then
              Inc(DrawRect.Left, Block.InactiveBlockWidth)
            else
            if Align in [alLeft, alRight] then
            begin
              Inc(DrawRect.Top, Block.InactiveBlockWidth);
              if Align = alLeft then
                DrawRect.Left := 15
              else
                DrawRect.Left := 20;
              DrawRect.Right := DrawRect.Left + (DrawRect.Bottom - DrawRect.Top);
            end;
            Canvas.Brush.Color := TabColor;
            Canvas.Pen.Color := clBlack;
    
            Dec(DrawRect.Right, 3);
    
            OldGraphicsMode := SetGraphicsMode(Canvas.Handle, GM_ADVANCED);
            Canvas.Brush.Style := bsClear;
    // HERE (changed options)
            DrawText(Canvas.Handle, PChar(Block.VSPane[I].FDockForm.Caption), -1, DrawRect, {DT_END_ELLIPSIS or} DT_NOCLIP);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know a only little about dock panel, following is the code is used:
Only editor can post into database but the price could'nt Post into database.. So,
Only began using Haskell a couple of weeks ago - I am attempting to
Select only showing first character of option text in IE 9 Using click on
I only have one actual device to test on, a Nexus One but I've
I’d like to change my dock Icon during runtime. As I understand the only
Have you ever attempted using Swing only to end up changing courses because it
How can I hide the dock icon for a running AppleScript, and keep the
I am trying to create an application that will have a tray icon only,
When changing the dock position Cocoa is firing a NSApplicationDidChangeScreenParametersNotification: The problem is that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.