Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-08

How to create: TButtonGrid descendant of TCustomDrawGrid ? (ik)

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Peter E Williams
Ido wrote 10 lines
From: 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/

Thanks, Ido, I will use your unit. It saves me from reinventing it. :-)))

Regards,
PEW ;-)))
Hobart, Tasmania, Australia

Proudly developing Quality Cross Platform Open Source Games Since 1970 with a Commodore PET 4016 with 16 KRAM http://pews-freeware-games.org (<--- brand new)

Reply by email

Howard Page-Clark
to Peter E Williams
Peter E Williams wrote 19 lines
On Sun, 29 Aug 2010 10:41:53 +0300, Ido wrote: > From: 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/ > Thanks, Ido, I will use your unit. It saves me from reinventing it. :-))) Regards, PEW ;-))) Hobart, Tasmania, Australia

Ido's custom written component is definitely the way to go.

I found that to get it to compile under Windows I had to change two identifiers on lines 179 and 180 of his unit from

GetControlClassDefaultSize.X ....Y

to
GetCOntrolClassDefaultSize.cX .....cY

Howard

Reply by email