[Suggestion] Copying/moving tabs

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Ivan Moratinos
Junior Member
Junior Member
Posts: 46
Joined: 2003-11-25, 16:13 UTC
Location: Spain

[Suggestion] Copying/moving tabs

Post by *Ivan Moratinos »

I don't remember if someone suggested this before.

Now, if you drag a tab between panes, the tab is copied. It would be very useful if tabs could be moved too (holding shift key while dragging for instance)
Esperanto estas la solvo - http://ikso.net/
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Move Tabs

Post by *Clo »

2Ivan Moratinos
Hi!
Rearrange tabs:
Simply by drag&drop to the desired position, even on the other panel.
Help & Tutorial...
:wink: Kind regards
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
Randy
Junior Member
Junior Member
Posts: 40
Joined: 2003-12-06, 22:14 UTC

Re: [Suggestion] Copying/moving tabs

Post by *Randy »

Ivan Moratinos wrote:I don't remember if someone suggested this before.

Now, if you drag a tab between panes, the tab is copied. It would be very useful if tabs could be moved too (holding shift key while dragging for instance)
I've recommended this to Christian along with being able to double-click on a blank part of the tab bar to create a new tab, being able to drag a tab to a panel to copy (or move) that directory to the directory in the panel, etc.
User avatar
Ivan Moratinos
Junior Member
Junior Member
Posts: 46
Joined: 2003-11-25, 16:13 UTC
Location: Spain

Post by *Ivan Moratinos »

Randy wrote:I've recommended this to Christian along with being able to double-click on a blank part of the tab bar to create a new tab
Great!... like in Opera browser :). Could you please paste a link to the topic you are talking about?
Clo wrote:Simply by drag&drop to the desired position, even on the other panel.
Help & Tutorial...
I know that. But in TC you cannot move a tab by drag&drop now.
Esperanto estas la solvo - http://ikso.net/
Randy
Junior Member
Junior Member
Posts: 40
Joined: 2003-12-06, 22:14 UTC

Post by *Randy »

Ivan Moratinos wrote:
Randy wrote:I've recommended this to Christian along with being able to double-click on a blank part of the tab bar to create a new tab
Great!... like in Opera browser :). Could you please paste a link to the topic you are talking about?
Unfortunately, it was in e-mail.
User avatar
pdavit
Power Member
Power Member
Posts: 1529
Joined: 2003-02-05, 21:41 UTC
Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
Contact:

Post by *pdavit »

Yes, I do also like the Opera functionality over tabs. I also like the ability to make some actions via mouse gestures. If this is integrated to TC as well it would be very functional and fast to use.

What I also like about Opera is that you can configure how the wheel mouse button will behave. I've set it up so whenever a wheel-click a link that link will be opened on a new tab in the background. A similar behavior for folders in TC would be really welcome!
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I've recommended this to Christian along with being able to double-click on a blank part of the tab bar to create a new tab
Unfortunately I don't seem to get any notification on this double click, neither from Windows nor from the Delphi control.
Author of Total Commander
https://www.ghisler.com
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Get infos---

Post by *Clo »

2ghisler(Author)
Hello Mr. Ghisler!
• This double-click on a blank location exists in the MyIE2 - interface-program for IE... It works quite fine!
Maybe could you contact the author(s) of MyIE2 to get some infos?
http://www.myie2.com
¤ There is none e-mail in the program-help... Also a Forum:
http://myiebbs.yeah.net
Hoping that'll help you,
:mrgreen:  Best regards,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2ghisler(Author)
Unfortunately I don't seem to get any notification on this double click, neither from Windows nor from the Delphi control.
You should receive a WM_MBUTTONUP and a WM_MBUTTONDOWN message.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I don't - it's sent to that control. I will probably have to subclass that window. But this doesn't solve everything - I will get the message also when clicking on a button, so I will have to figure out when the empty space is hit. You see, a lot of work for a small function.
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2ghisler(Author)

Code: Select all

procedure TFormTab.TabControlMouseUp(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
begin
        if (Button = mbMiddle) then
        begin
                ListBox.Items.Add('tab button');
        end;
end;

procedure TFormTab.FormMouseUp(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
begin
        // Clicked inside the TabControl
        if (    (Button = mbMiddle) and
                (X >= TabControl.Left) and
                (X <= (TabControl.Width + TabControl.Left)) and
                (Y >= TabControl.Top) and
                (Y <= (TabControl.Height + TabControl.Top))) then
        begin
                ListBox.Items.Add('clicked inside free space');
        end;
end;
Entire project can be downloaded from my homepage. The link is on the very bottom of the page.

I think the problem here is to define what "free space" is? In the example above, where a listbox is placed inside the tabcontrol, all middle mouse button clicks that are performed not directly on the form, on the listbox or on the tab buttons are recognized as clicks inside "free space"....
Post Reply