rkSmartTabs updated to 2.1

This is just a post to inform you about the availability of the latest rkSmartTabs.

Now dragging of tabs works correctly and hints are working properly.

Making this work was a lot more difficult than expected but the hardest part was to make all the transparency work correctly.

I hope you find this update useful, now you should download it and have some fun.

Download it at the download page as single component since collection has not been updated yet.

  • Guest

    Thank you for your cool components!
    Just wondering if you plan to make a version for FireMonkey (Delphi XE2)?

  • admin

    Hi,

    I do not have a copy of FireMonkey so it is a little hard todo.

    Regards
    Roy M Klever

  • Edwin Yip

    Hi Roy,

    I’d like to report a bug of rkSmartTab, if you have several tabs and constantly switch them using the mouse, the behavior will unexpectedly become “dragging tabs”, but actually what I want to do is switching between tabs.And happy holidays.

  • Viva

    Hi Roy!!! Thanks a lot for your perfect components. How about glass tabs on a glass form??? Please check this question: http://stackoverflow.com/questions/8753939/delphi-aero-glass-tabs

  • Antonio

    Hi Roy!!! How to show images on tabs??? I assign an image list (16×16 or 32×32; 32 bit; transparent) to SmartTabs, ShowImages:=true, and nothing happens…Delphi XE2. Is it a bug?

  • Antonio

    Sorry, understood

  • Alberto

    can anybody help me and let me know how to show images on tabs ? Thanks.

  • Stevie

    Hi Roy, I am using your rkSmartTabs component (Version 2.1) in Delphi 7 and I like it very much. However, I think I found a little bug that can be easily fixed. If you try to use a system-color (e.g. “clBtnFace”) for the ColorBackground property and set Transparent to False, the resulting background color will probably be black (instead of the correct color associated with clBtnFace). The problem is in your source code where you calculate the RGB values from FColorBackground. In order to get the correct RGB values for a system-color, you have to introduce a temporary variable TempColor and do something like the following before you calculate the RGB values:

    if FColorBackground<0 then
        TempColor:= GetSysColor(FColorBackground and $000000FF)   //for system colors (e.g. "clBtnFace")
    else
        TempColor:= FColorBackground;  //for any other colors (e.g. "clRed")

    I hope this will help to improve rkSmartTab.

    Cheers,
    Steve

  • Stevie

    Furthermore, I figured out how to make the background Windows-theme-aware. This might be intesting for Windows XP and 7 users who want to use rkSmartTabs below a standard TMainMenu or TToolBar. If you want to get the source code, please send me your e-mail address.

    Cheers,
    Steve

  • Edwin

    Hi Roy, a bug report – when the form’s glass frame is enabled, the tabs’ images will not be painted correctly. 

  • SimonH

    Roy, do you plan on making more component updates ? Personally I really hope so :)

  • Qian Xu

    Dear developer, in compare with Google Chrome, the position of “new tab” button is not fixed, after tabs are occupied the whole tabbar. Also when you close tabs by clicking the red ‘x’ button from the right side, the position of red ‘x’ button is not fixed. (btw: it would be more awesome, if your control supports skin, so that the tab control can look ie9, ie8, etc.)

  • http://www.cenadep.org/ Joko Rivai

    Thanks for this nice component!

  • Олександр Морозевич

    1. Assign imagelist
    2. ShowImages:=true
    3. Assign OnGetImageIndex code like this:
    procedure TfmMain.rkSmartTabs1GetImageIndex(Sender: TObject; Tab: Integer; var Index: Integer);begin index := tab;end;4. Say thanks))

  • Ervin

    Hi Roy,

    We didn’t hear from you for quiet a while. Do you still make updates for these great components?