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

2014-09-13 Thread Anthony Tekatch
Hello, I have a RadioGroup located on a PageControl tab that is sometimes made invisible. If I update that RadioGroup ItemIndex programmatically when that tab is invisible, then later make the tab visible and click on a previously clicked (but not selected) radio button ... there is no

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

2014-09-13 Thread zeljko
On 09/13/2014 01:38 PM, Anthony Tekatch wrote: Hello, I have a RadioGroup located on a PageControl tab that is sometimes made invisible. If I update that RadioGroup ItemIndex programmatically when that tab is invisible, then later make the tab visible and click on a previously clicked (but not

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

2014-09-13 Thread zeljko
On 09/13/2014 01:38 PM, Anthony Tekatch wrote: Hello, I have a RadioGroup located on a PageControl tab that is sometimes made invisible. If I update that RadioGroup ItemIndex programmatically when that tab is invisible, then later make the tab visible and click on a previously clicked (but not

[Lazarus] Selection issues in class derived from TCustomDrawGrid

2014-09-13 Thread Werner Pamler
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 select a range of cells once the

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

2014-09-13 Thread Anthony Tekatch
On Sat, 13 Sep 2014 16:37:21 +0200, zeljko zel...@holobit.net wrote: On 09/13/2014 01:38 PM, Anthony Tekatch wrote: Hello, I have a RadioGroup located on a PageControl tab that is sometimes made invisible. If I update that RadioGroup ItemIndex programmatically when that tab is

Re: [Lazarus] Enabling menu-options depending on a Lazarus-setting?

2014-09-13 Thread Joost van der Sluis
On 09/04/2014 11:42 PM, Martin Frb wrote: Example in procedure TDebugManager.ConnectMainBarEvents; This was at least a little bit of use. Frustrating that disabling a menu-item in the IDE takes more time than implementing the whole pseudo-terminal feature. It still does not work, though.

[Lazarus] TAChart OHLC

2014-09-13 Thread Leonardo M. Ramé
Hi, I'm trying to create a basic Open High Low Close chart using TAChart, but I'm getting a RunError(201) on tacustomsource.pas line 433, aparently YList is not initialized. Here's the lfm: object Form1: TForm1 Left = 364 Height = 354 Top = 255 Width = 582 Caption = 'Form1'

Re: [Lazarus] Enabling menu-options depending on a Lazarus-setting?

2014-09-13 Thread Mattias Gaertner
On Sat, 13 Sep 2014 20:50:26 +0200 Joost van der Sluis jo...@cnoc.nl wrote: On 09/04/2014 11:42 PM, Martin Frb wrote: Example in procedure TDebugManager.ConnectMainBarEvents; This was at least a little bit of use. Frustrating that disabling a menu-item in the IDE takes more time than

[Lazarus] TAChart OHLC

2014-09-13 Thread Werner Pamler
You need to initialize the YCount of the chart source. Just call Chart1OpenHighLowCloseSeries1.ListSource.YCount := 4 before adding the data. (http://wiki.lazarus.freepascal.org/TAChart_documentation#Open-high-low-close_series) -- ___ Lazarus

[Lazarus] TAChart Date Axis Remove Weekends

2014-09-13 Thread Leonardo M. Ramé
Hi, I'm using TAChart to plot OHLC Stock prices and would like to ignore weekends. Is it possible to do that?. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] PostMessage return value

2014-09-13 Thread Xiangrong Fang
Hi All, I try to use PostMessage for inter-thread communication. After reading the wiki and source code, I found that: 1) PostMessage is defined in winapih.inc, altough I confirmed using a simple test program that it also work under linux. 2) In the document it is not mentioned when