[Lazarus] TAChart Date Axis Remove Weekends

2014-09-14 Thread Werner Pamler
Don't use the real date as x value. Instead, use a counter value that is incremented every time you add a value to the series. Don't add data if the DayOfWeek of their date is 6 (Friday) or 7 (Saturday). In the data you posted in your previous message the weekends are already messing,

Re: [Lazarus] Selection issues in class derived from TCustomDrawGrid

2014-09-14 Thread Rik van Kekem
On 13-09-2014 19:59, Werner Pamler wrote: In fpspreadsheet I am using a TsWorksheetGrid to display the contents of spreadsheet files. This grid is derived from TCustomDrawGrid, it gets all data and formats from the underlying TsWorkbook. One thing which annoys me is that the grid can no longer

Re: [Lazarus] Help system questions

2014-09-14 Thread Rik van Kekem
On 13-09-2014 07:00, Reinier Olislagers wrote: 1. function TChmHelpViewer.ShowNode(Node: THelpNode; var ErrMsg: string ): TShowHelpResult; in components\chmhelp\packages\idehelp\lazchmhelp.pas has if Pos('file://', Node.URL) = 1 then begin Result := PassTheBuck(Node, ErrMsg);

Re: [Lazarus] Help system questions

2014-09-14 Thread Reinier Olislagers
On 14/09/2014 12:46, Rik van Kekem wrote: On 13-09-2014 07:00, Reinier Olislagers wrote: Just above Exit the Result of the function is already set in Result so there is no need for the parameter in Exit (it's already set). (Even the ErrMsg is given back via the var-parameter of ShowNode)

Re: [Lazarus] TAChart Date Axis Remove Weekends

2014-09-14 Thread Leonardo M. Ramé
On 14/09/14 06:57, Werner Pamler wrote: Don't use the real date as x value. Instead, use a counter value that is incremented every time you add a value to the series. Don't add data if the DayOfWeek of their date is 6 (Friday) or 7 (Saturday). In the data you posted in your previous message the

[Lazarus] TAChart Date Axis Remove Weekends

2014-09-14 Thread Werner Pamler
I don't know, at the moment, where the minimum is forced to 0 - normally this does not happen, it is probably a bug with the multi-value series which I don't use that much, I don't know... Until this is fixed you have to determine the minimum of the y axis on your own. Declare a variable mn:

Re: [Lazarus] TAChart Date Axis Remove Weekends

2014-09-14 Thread Leonardo M. Ramé
On 14/09/14 08:35, Leonardo M. Ramé wrote: On 14/09/14 06:57, Werner Pamler wrote: Don't use the real date as x value. Instead, use a counter value that is incremented every time you add a value to the series. Don't add data if the DayOfWeek of their date is 6 (Friday) or 7 (Saturday). In the

Re: [Lazarus] Help system questions

2014-09-14 Thread Reinier Olislagers
On 13/09/2014 07:00, Reinier Olislagers wrote: However, after a couple of seconds (which suggests a timeout error in the IPC communication) the IDE starts the Code Browser, looking for the identifier. Posting for reference: After a good night's sleep, some logging found this probable location:

[Lazarus] TAChart CandleStick Chart

2014-09-14 Thread Leonardo M. Ramé
Hi, I inherited TOpenHighLowCloseSeries to implement CandleStick Charts: http://en.wikipedia.org/wiki/Candlestick_chart I only implemented the Draw method, but it would be nice to have this properties in the final version also: CandleColor: fill color of default or UP candle.

Re: [Lazarus] Fuzzy translations ignored

2014-09-14 Thread Bart
I started a graphical smmary in r46230. Please check it out and comment on it. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] TAChart CandleStick Chart

2014-09-14 Thread Werner Pamler
I'm not familiar with the multivalued series. But you chandlestick series looks much like the Box/Whisker series which is included in TAChart. Can you point out the difference? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] Selection issues in class derived from TCustomDrawGrid

2014-09-14 Thread Werner Pamler
Is this in the latest svn-version (3561)? Yes, but I've seen it for a couple of months since I added selections to the worksheet grid. Could you provide sample code? (or is it also just as simple as mine?) Yes, just like what you say. Or just run spready which starts with an empty

Re: [Lazarus] Selection issues in class derived from TCustomDrawGrid

2014-09-14 Thread Rik van Kekem
On 14-09-2014 17:17, Werner Pamler wrote: Or just run spready which starts with an empty spreadsheet, activate editing... It does not work for me. When setting ExtendedSelect to true for the WorksheetGrid it works like expected (that's why it worked for me with a clean project because it's

[Lazarus] white popup hint box

2014-09-14 Thread waldo kitty
i've just updated both of my trunk FPC and LAZ... it has been four months since my last update... when i hovor over something and lazarus pops up a hint box, it is all white except for the shadow border on the right and bottom... where do i go to adjust the color of the border so i can see it

[Lazarus] Selection issues in class derived from TCustomDrawGrid

2014-09-14 Thread Werner Pamler
When setting ExtendedSelect to true for the WorksheetGrid it works like expected Yes, you are right - thanks. In fact, in my current version I already had the ExtendedSelect set to TRUE in the constructor but I had forgotten to update its default value in the property declaration as well.

Re: [Lazarus] white popup hint box

2014-09-14 Thread Rik van Kekem
On 14-09-2014 20:56, waldo kitty wrote: i've just updated both of my trunk FPC and LAZ... it has been four months since my last update... when i hovor over something and lazarus pops up a hint box, it is all white except for the shadow border on the right and bottom... Are you sure you're

Re: [Lazarus] white popup hint box

2014-09-14 Thread Rik van Kekem
On 14-09-2014 23:22, Rik van Kekem wrote: On 14-09-2014 20:56, waldo kitty wrote: i've just updated both of my trunk FPC and LAZ... it has been four months since my last update... when i hovor over something and lazarus pops up a hint box, it is all white except for the shadow border on the

Re: [Lazarus] Radiogroup not updating clicked button when in non-visible TPageControl tab

2014-09-14 Thread Alejandro Gonzalo
Similarly if a TEdit or a TMemo have visible set to false, then PasteFromClipboard and CopyToClipboard fails. Fix this too please before 1.2.6 releases? Thanks. A. G. On Saturday, September 13, 2014 7:37 AM, zeljko zel...@holobit.net wrote: On 09/13/2014 01:38 PM, Anthony Tekatch wrote:

Re: [Lazarus] white popup hint box

2014-09-14 Thread waldo kitty
On 9/14/2014 5:22 PM, Rik van Kekem wrote: On 14-09-2014 20:56, waldo kitty wrote: i've just updated both of my trunk FPC and LAZ... it has been four months since my last update... when i hovor over something and lazarus pops up a hint box, it is all white except for the shadow border on the

Re: [Lazarus] white popup hint box

2014-09-14 Thread waldo kitty
On 9/14/2014 5:33 PM, Rik van Kekem wrote: On 14-09-2014 23:22, Rik van Kekem wrote: On 14-09-2014 20:56, waldo kitty wrote: i've just updated both of my trunk FPC and LAZ... it has been four months since my last update... when i hovor over something and lazarus pops up a hint box, it is all

Re: [Lazarus] white popup hint box

2014-09-14 Thread waldo kitty
On 9/14/2014 5:33 PM, Rik van Kekem wrote: On 14-09-2014 23:22, Rik van Kekem wrote: On 14-09-2014 20:56, waldo kitty wrote: i've just updated both of my trunk FPC and LAZ... it has been four months since my last update... when i hovor over something and lazarus pops up a hint box, it is all