Re: [Lazarus] How to create: TButtonGrid descendant of TCustomDrawGrid ?

2010-08-29 Thread Juha Manninen (gmail)
On Sunday 29 August 2010 02:54:23 Peter E Williams wrote: Hi Howard and All, I copied your code (below) into a new application's unit1.pas but I could not get it to compile. unit1.pas(15,20) Warning: An inherited method is hidden by constructor

Re: [Lazarus] How to create: TButtonGrid descendant of TCustomDrawGrid ?

2010-08-29 Thread ik
Hi, I've created this component. You can find it at: http://github.com/ik5/linesip-components/blob/master/buttons/untbuttonlist.pas Ido http://ik.homelinux.org/ On Sun, Aug 29, 2010 at 00:31, Peter E Williams foss.game.pascal.develo...@iinet.net.au wrote: Hi, This email is related to my

Re: [Lazarus] How to create: TButtonGrid descendant of TCustomDrawGrid ? (ik)

2010-08-29 Thread Peter E Williams
On Sun, 29 Aug 2010 10:41:53 +0300, Ido wrote: From: ik ido...@gmail.com Hi, I've created this component. You can find it at: http://github.com/ik5/linesip-components/blob/master/buttons/untbuttonlist.pas Ido http://ik.homelinux.org/ Thanks, Ido, I will use your unit. It saves me

Re: [Lazarus] How to create: TButtonGrid descendant of TCustomDrawGrid ? (ik)

2010-08-29 Thread Howard Page-Clark
On 29/8/10 10:17, Peter E Williams wrote: On Sun, 29 Aug 2010 10:41:53 +0300, Ido wrote: From: ikido...@gmail.com Hi, I've created this component. You can find it at: http://github.com/ik5/linesip-components/blob/master/buttons/untbuttonlist.pas Ido http://ik.homelinux.org/ Thanks, Ido, I

[Lazarus] How to create: TButtonGrid descendant of TCustomDrawGrid ?

2010-08-28 Thread Peter E Williams
Hi, This email is related to my previous post. I want to create a new component called a TButtonGrid which would be a descendant of TCustomDrawGrid. Problem is that I don't know how to do that. Obviously, I would need to make the CustomDraw (???) draw a TButton. Does anyone have some example(s)

Re: [Lazarus] How to create: TButtonGrid descendant of TCustomDrawGrid ?

2010-08-28 Thread Howard Page-Clark
On 28/8/10 10:31, Peter E Williams wrote: Hi, This email is related to my previous post. I want to create a new component called a TButtonGrid which would be a descendant of TCustomDrawGrid. Problem is that I don't know how to do that. Obviously, I would need to make the CustomDraw (???) draw

Re: [Lazarus] How to create: TButtonGrid descendant of TCustomDrawGrid ?

2010-08-28 Thread Peter E Williams
Hi Howard and All, I copied your code (below) into a new application's unit1.pas but I could not get it to compile. unit1.pas(15,20) Warning: An inherited method is hidden by constructor TButtonGrid.Create(TComponent,LongWord,LongWord); // this would indicate to me that the parameters you have