JSplitPane analogue for Delphi - delphi

Can someone point to good delphi component that is an analogue for java JSplitPane.
I know about standard TSplitter in Delphi, but I sick and tied of using it.

The JVCL components comes with 4 splitters.
TJvSplitter
TJvxSplitter
TJvSyncSplitter
TJvNetscapeSplitter (This is very similar (visually) to JSplitPane)

Raize components has a nifty splitter: it consists of two panes (that can host other controls) and the splitter in the middle.

I've used the Plasmatech splitter in their Shell Control Pack, and like it.
http://plasmatech.com/

Related

How to IgnoreNulls for function ATR?

For ExpMovAvg, there is the code TChart1.Series(1).FunctionType.asExpMovAvg.IgnoreNulls = True to ignore the nulls, but for ATR, I didn't find anything after FunctionType (There is FunctionType.asADX for ADX,but nothing for ATR), so how to do that for ATR, thanks. (I use Teechart2011 Eval & VB6)
I'm afraid the IgnoreNulls property doesn't exist for this function type. Since TeeChart ActiveX is a wrapper from TeeChart VCL version, I've added it to the VCL wish list to be implemented in next versions (TV52016368).
In the meanwhile, the only way I can think of to achieve the same is to completely remove the null points from the source series.

GExpert's Replace Components Expert doesn't replace the text in the form file (*.dfm)

I am using Delphi 2010 and GExperts stable release 1.35
I am testing the "Replace Components" expert.
I add a main form and a secondary form. Each has three TEdits on it.
I use the Replace Components Expert to replace all TEdits with TRzEdit. I Check the Replace all components on all forms of the project.
It works, it replaces them all. However, it doesn't do anything to the DFM file. How do i make it replace those instances.
If i save, compile, or rebuild, i get errors.
If i try to view the form as text after replacing, i get errors.
Can someone explain to me the steps to make this work?
Thanks
I just tried it with Delphi XE and GExperts 1.35 and it does indeed crash now even after a single "Replace Selected". (It used to work fine in the past).
It seems that using the hidden menu Project | Clear Unit Cache just after Replace Components then doing a full build before trying any Save/Compile/View As Text... fixes the problem.
I think this menu is surfaced with cnPack. I don't have it and cannot guarantee, but you can easily do it yourself by adding the following unit in one of your installed packages:
unit FGEnableHiddenMenus;
interface
procedure Register;
implementation
uses
Classes, Forms, Menus;
procedure Register;
var
Comp: TComponent;
begin
//Make a hidden menu item visible
Comp := Application.MainForm.FindComponent('ProjectClearUnitCacheItem');
if Comp is TMenuItem then
TMenuItem(Comp).Visible := True;
end;
end.
Source: Brian Long's old goodies
Update:
I had to replace a couple of TEdit by TDBEdit on our main project at work and this trick worked.
But on a new Project with 3 Forms, it failed consistently to write/commit/save the changes on the last Form (same environment).
FYI, I tried with and without DDevExtensions 2.5 and IDEFixPack 4.6.1
Update2:
Went digging in the GExperts forum as suggested by Ulrich and finally found a possible explanation. The new property Touch does not like being copied from one component to another when the source is destroyed (causing the AV).
The suggested workaround is to do a bidirectional mapping in the Expert Settings to disable the copy for this property:
You might be running into this bug while trying to copy the Touch property from the old to the new component, but it has a workaround you can fairly easily test:
http://tech.groups.yahoo.com/group/GExpertsDiscuss/message/3994
Details:
There is a limitation/bug in Delphi 2010 and XE where if you assign a
Component.Touch property from one component to another and destroy the
original component that the new component becomes corrupt (it isn't
like component/interface references, where they either auto-correct
themselves or are reference counted).
For the moment, you can assign a bi-directional replace component
property map from TPanel.Touch to TGroupBox.Touch (use the two components being replaced in your specific case) that is marked as
a disabled property map, and that will work around this problem. Our next release
will not try to assign that property any longer.
GExperts 1.36 is also now available and includes a workaround for this issue. The workaround has been in the GExperts version control system and in testing for several weeks already.

Is there an edit control for Delphi that allows path editing?

I have various hierarchical structures and would like to allow navigation around then using an editor like the Microsoft one found in the explorer address bar below. Is there such a Delphi component? (Paid for or free)?
TAdvExplorerTreeview from TMS might be what your looking for:
http://www.tmssoftware.com/site/advexptree.asp
Haven't tried by myself but Roy Klever's PathViewer component looks quite interesting.
I have spent the morning writing such a control. Actually, I wrote a very generic, completely virtual base control, from which I later derived a directory browser control:
The source code is published here
Here are some images:
Style := bbsClassic
Style := bbsFlat
Style := bbsHeader
Style := bbsThemed
Style := bbsCommand
Not sure about anything exactly like that but the BergSoft Next Collection includes a path control similar to that (useful for breadcrumb trails and the like)
http://www.bergsoft.net/component/next-collection/overview.htm
It's free providing you don't want access to the source. Source is pretty cheap though and it's a one off cost that'll get you all future updates.

component to theme a StringGrid like the ThemedDBGrid

Exist any similar component to theme a stringrid like the ThemedDBGrid component compatible with delphi 5.
Surely you could take the source from ThemedDBGrid and re-work it for a stringgrid? Or you could use a DBGrid and wrap your strings up so that they can be accessed through a dataset.
TMSSoftware's Advanced String Grid is pretty popular:
http://www.tmssoftware.com/site/advgrid.asp
You could also look at skinning components that skin the built in grid, such as:
http://www.almdev.com/

Draggable components?

I have two forms(one main form,and one submain form).I'd like to do something like CodeGear's IDE panels on drag-and-drop.Meaning I could move them and they merge with other components.
However,I'm asking for something different:
I'd like to drag the submain form into the main form and to turn it into a something like TFrame or,in other words,something that doesn't move,but stay static.And reverse - I'd like to alo be able to get the form out of the TFrame by any chance.
Is my idea possible and if it is,could you explain how to accomplish it?
EDIT: An idea came to my head.Is it possible to create a TFrame that inherits all controls/components from a TForm so that components stay on the form,but when I attempt to turn it into Tframe,it just changes visibility to false and shows the TFrame contaning everything from the Form.Is that possible?
Set the main form's DockSite property to True, and then handle the OnDockOver and OnDockDrop events.
You can see an example of the VCL's drag and drop docking support in the Docking demo (installed for Delphi 2007 on WinXP in C:\Documents and Settings\All Users\Documents\RAD Studio\5.0\Demos\DelphiWin32\VCLWin32\Docking, for Delphi 7 in C:\Program Files\Borland\Delphi7\Demos\Docking.) Delphi 2009's will be in the same folder location as Delphi 2007's; just change the 5.0 to 6.0 in the path.

Resources