Search found 49 matches

by Lenfors
Sat Nov 14, 2015 3:48 pm
Forum: VCL
Topic: Prevent nodes from getting selected
Replies: 1
Views: 23903

Prevent nodes from getting selected

Hello!

I TTree, how do I prevent all nodes from getting selected?

Best regards, Mikael
by Lenfors
Thu Nov 12, 2015 9:35 pm
Forum: VCL
Topic: Remove folder icon on node
Replies: 1
Views: 23427

Remove folder icon on node

Hello!

When I add nodes to a TTree with

Result := Tree.AddRoot(DefaultText);

Or

Result := ParentNode.AddChild(DefaultText);

then the added nodes get a yellow folder Icon in front of them. How do I get rid of this Icon? I just want the textbox!?

Best regards, Mikael
by Lenfors
Mon Oct 21, 2013 2:23 pm
Forum: VCL
Topic: Make node visible in TTree
Replies: 3
Views: 28276

Make node visible in TTree

Hello!

I have a TTree with a lot of nodes in it. How can I programatically make a certain node to be visible in the Tree? (Inside the visible area of the tree)

Best regards, Mikael
by Lenfors
Mon Oct 07, 2013 1:20 pm
Forum: VCL
Topic: Error TeeReCompile
Replies: 1
Views: 5580

Re: Error TeeReCompile

Sorry! Just realized that i get a source code path proposal at program startup, and I just accepted the default wich was the old path!

Regards, Mikael
by Lenfors
Mon Oct 07, 2013 1:14 pm
Forum: VCL
Topic: Error TeeReCompile
Replies: 1
Views: 5580

Error TeeReCompile

Hello! Just bought a new TeeChart 2013 and are trying to upgrade from version 8.07. Installation went fine without any errors, but now I tried to run TeeRecompile to get the QRChart to wotk. I then get the following error: =============================================== TeeChart Pro Compilation star...
by Lenfors
Mon Sep 30, 2013 8:42 am
Forum: VCL
Topic: Clone TChart to TQRChart
Replies: 9
Views: 18231

Re: Clone TChart to TQRChart

Sorry, but I can't make it work! I'm using TeeChart 8.07, is this maybee the problem. Is this functionality improved in later version? My latest try is below. The problem is I can't get my custom axes to be copied currectly. On my original Chart I can see 20 series but on my report there are only tw...
by Lenfors
Wed Sep 25, 2013 1:45 pm
Forum: VCL
Topic: Clone TChart to TQRChart
Replies: 9
Views: 18231

Re: Clone TChart to TQRChart

Ok, thanks. I'll test it!
by Lenfors
Wed Sep 25, 2013 1:32 pm
Forum: VCL
Topic: Clone TChart to TQRChart
Replies: 9
Views: 18231

Re: Clone TChart to TQRChart

Hello! No it does not work, if you check his code: CloneChart(AQRChart.Chart, AChart, Self, false); for t:=0 to AQRChart.Chart.SeriesCount-1 do AQRChart.Chart[t].CustomVertAxis:=AQRChart.Chart.CustomAxes[t]; He assumes a 1:1 relationship between the Series and the CustomAxes but some of my Seried sh...
by Lenfors
Mon Sep 23, 2013 1:47 pm
Forum: VCL
Topic: Clone TChart to TQRChart
Replies: 9
Views: 18231

Re: Clone TChart to TQRChart

Hello! Ok, thanks! I cant use the BitMap solution as there are several changes done on the printout in respect to the original. The problem is that i have about 40 series spread over about 30 different scales so your "one to one" copy does not work. Any easy code to find out which custom axis i shou...
by Lenfors
Mon Sep 16, 2013 12:23 pm
Forum: VCL
Topic: Clone TChart to TQRChart
Replies: 9
Views: 18231

Clone TChart to TQRChart

Hello! I'm trying to copy my TChart to a TQRChart for printout. Most things seem to work but all my custom axis seems to dissapear!? AQRChart.Chart.Assign(AChart); for t:=0 to AChart.SeriesCount-1 do CloneChartSeries(AChart[t]).ParentChart:=AQRChart.Chart; I cant find any CloneChartAxis! How do I cl...
by Lenfors
Mon Nov 07, 2011 1:25 pm
Forum: VCL
Topic: TTree disable horizontal scrollbar
Replies: 6
Views: 36204

Re: TTree disable horizontal scrollbar

Hello!

Sorry for the long delay, havent been working on this project for a while...

Already tried the Visible property but it does not have ant effect.

But I found another property MYTree.Selected.ScrollToView := False; which seems to solve the problem!

Regards, Mikael
by Lenfors
Mon Sep 12, 2011 5:09 pm
Forum: VCL
Topic: TTree disable horizontal scrollbar
Replies: 6
Views: 36204

Re: TTree disable horizontal scrollbar

I tried loading the demo but it says "The project can not be loaded because the required personality DelphiDotNet.Personality is not loaded"

Is there no simple way just to disable the horizontal scrollbar?

Regards, Mikael
by Lenfors
Thu Sep 08, 2011 5:08 pm
Forum: VCL
Topic: TTree disable horizontal scrollbar
Replies: 6
Views: 36204

Re: TTree disable horizontal scrollbar

Helllo! Well, its not a bug! But if you se the two attached pictures, in "full view.jpg" the tree at the left It is presented as I want it to be. In the "scrolled.jpg" picture you can se how it looks if it does not fit. In this case I would still want it to be left justified and the horizontal scrol...
by Lenfors
Tue Sep 06, 2011 1:45 pm
Forum: VCL
Topic: TTree disable horizontal scrollbar
Replies: 6
Views: 36204

TTree disable horizontal scrollbar

Hello!

I'm using TTree as a "menu" in my application. What I would like to do is to disable the vertical scrollbar and always have everything left justified. If some text would reach the right edge of the control it should just be truncated.
Any ideas how to do this?

Regards, Mikael
by Lenfors
Mon Jul 11, 2011 9:20 pm
Forum: VCL
Topic: Missing events in TColorLineTool
Replies: 1
Views: 5104

Missing events in TColorLineTool

Hello!

I'm missing the events OnMouseEnter and OnMouseLeave for the TColorLineTool.

When I right click on a TColorLineTool I want my popupmenu to activate the feature "Delete ColourLine".
Is there some other way to do this without the above events?

Regards, Mikael