I was wondering which component to use to get the same tabbed docking that photoshop using, in photoshop you can dock panels as tabs and you can reorder them by dragging the tab or you can dock them together under each other,
I have tried to mimic same results with the jvcl and lmd docking components but apperantly they are not same with the system of photoshop using,
can you let me know which component to use to get the same result or anyone has any example for me to study and work on
LMD Docking is ubdoubtedly the closest thing you will come across for delphi. We use it in FinalBuilder and you can definitely drag docked tabs around like in in photoshop. FinalBuilder - an example implementation of LMD Docking
Related
I can easily make semi-transparent panel inside form using Firemonkey's TForm.Transparency and TPanel.Opacity options. But I can't do it in VCL.
I want to make something like this:
Is there any way to do it in VCL application? No third-party component please.
Edit: If I can also make opaque components on the semi-transparent surface, that would be a PLUS.
I am trying to modernize the look of our older Delphi 7 application now that we are using Delphi XE-2. I experimented with the TRibbon, and although I like it, it probably is not the correct solution since we currently use a TMainMenu and make many runtime changes to it - our users can modify the main menu. But the default Mainmenu looks old, especially compared to the image shown.
What I am trying to do is something very close to the attached image, especially with the background color, but I don't quite understand how this was done. Can anyone tell me if this example (the File/View/Insert section) uses a TMainMenu, or is it Buttons on a Toolbar ? If we require a customizable main menu, do you think the example shown is an option ?
This example image comes from DevExpress Print Sample library.
Edit : I am new here so I can't include the image. Here is the link :
http://www.devexpress.com/Products/VCL/ExPrintingSystem/gallery.xml
The second image, the green one that says "Print Preview".
You could use the TActionMainMenuBar but the simpler solution for you is to Use Vcl styles, pick a theme, modify the graphical properties of a MainMenu component and then use StyleHooks to force the style just for the MainMenu component without using it for the whole application.
Delphi IDE's "code completion" feature includes a second flyout window with code parameters - the one on the right:
An interesting feature of that window is that it is automatically sized to fit the content. What parameters must be used to create a window like that, and how can the automatic sizing be achieved in Delphi (XE)?
I would call that a hint window. Sizing "automatically" is done by code, and not by parameters alone, unless those parameters are properties in components, and the components then take on the work of auto-sizing to fit the content. In fact, that's probably what you want.
You could do it all yourself in Raw Win32 API terms... But it's a lot of work. Sizing a window to fit text can be done, using a window without a border and with style WS_POPUP set, and by painting it all yourself, and using the DrawTextEx API which can return the size of the text, but the simpler approach would be to use a hint window component, some of which will let you size them based on the content inside them. Unless you have a real need to reinvent the wheel, there are lots of hint window components already written. Use one.
I have used, and can recommend the hint window components from TMS (commercial) and JEDI JVCL (free), and they can both do window hints much like the above. The TMS Html Hint and TMS Office hint components are both capable of result similar to the above.
If you need a free solution, TJvHintWindow, built into the JVCL doesn't have as much functionality as the TMS ones, but could be tweaked and modified with a little work, to do something much like the picture you've shown.
Can I create a menu like in Fine Reader 11 in Delphi XE (also using 3d party controls)? What do I need to make an effect like on pictures below? Thanks.
Some other examples:
TMS have a similar menu in their Advanced Toolbars & Menus components
UPDATE:
TMS Advanced Toolbars & Menus include TAdvPolyMenu, which you can customize as your preferred style.
You may use AdvOfficePager from Tms Components :
You can get some very similar results using the JvNavPanel controls in the Jedi JVCL component set.
At the top of the Delphi IDE is a toolbar with buttons grouped together on little movable trays. I'm trying to implement something like that, but not having much success. I've found TToolbar, but I can't figure out how to set up the movable trays. Does anyone know where I could find a simple demo app that shows how it's done?
I believe the webbrows.dpr located in the cool stuff demo directory (and included in all installs of Delphi since around Delphi 6 or so) contains just the demo you are looking for. This gives you the effect your looking for using only CodeGear supplied components. You add multiple bands and set the fixed size to false for the bands you want to allow to be movable.
You can try the Toolbar2000 Component from Jordan Russell or the TBX package wich is an extension for Toolbar2000 components.
Toolbar2000 is a set of components for CodeGear Delphi and C++Builder designed to mimic the Office 2000 look and behavior. It includes draggable and dockable toolbars and menus.
alt text http://www.indasoftware.com/_files/img/fordev/office2003/small_classic.png
you can see these links.
Office2003 Theme for TBX
Mac OSX Theme for TBX
TBX themes
Bye.
You can put your toolbars in a standard VCL TCoolBar or TControlBar. AFAIR this can get a bit messy sometimes. For an example, have a look at the CoolStuff demo, as skamradt suggested.