问题
I would want to have tabs like here (all are glass):
A program is written in Delphi or C++ Builder. I can't find a class of the tabs in Winspector Spy & Window Detective.
I know a very good component - rkAeroTabs, but unfortunately it doesn't show an active tab with glass (that's what I need), & other tabs are not fully glass:
(source: rmklever.com)
Does anybody know how to get those glass tabs? Thanks.
回答1:
I've just completed a pretty much complete implementation of Chrome Tabs for Delphi.
The features include:
- Fully configurable Look and Feel including gradients, transparencies and custom tab shapes
- Works on Vista glass
- Tab movement animation
- Tab transitional style effects (fade between colours and alpha levels)
- Drag and Drop within container and between containers
- Drag image displays tab and any TWinControl
- Smart tab resizing when user clicks close button
- Fluid tab resizing with minimum and maximum tab sizes
- Add tab button can be positioned on the left, right or floating right
- Full featured scrolling including auto scroll when dragging
- Smart tab content display hides/shows items depending on the tab width
- Owner draw any item
- Right to Left text
- Pinned tabs
- Modified tabs with animated glow
- Tab images and overlay images
- Mouse over glow
- Lots of events
- Load/save look and feel and options to stream/file
- Generate look and feel/options Delphi code
You can download the source and a full demo/editor here: http://code.google.com/p/delphi-chrome-tabs/
回答2:
As pointed out by @Sertac Akyuz:
the rkSmartTabs has properties to set the tabs opacity levels.
LevelTabActive, LevelTabHot and LevelTabInActive.
By changing the default values (255, 192 and 224 respectivly) you can alter the opacity of different tab states.
I've been playing with it for a couple of weeks now. I really like what Roy has done with them.
来源:https://stackoverflow.com/questions/8753939/delphi-aero-glass-tabs