Sign in Join

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

Mailing lists / lazarus / 2008-06

Grids patch...

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Michael Van Canneyt

Hello,

I submitted a patch to Mantis. It:

- publishes the ExtendedSelect and UseXorFeatures properties in TStringGrid and TDrawGrid (this is probably an omission)

- positions and sets the value of a custom editor correctly when it set using the OnSelectEditor event: If a control was passed that listens to the Grid messages, it was only positioned after a column was sized or so. Now the messages are sent correctly when the control is selected.

It makes it possible to show custom editors in a grid in a much easier manner.

More patches will follow, but this one is a prerequisite.

Michael.

Reply by email

Jesus Reyes
to Michael Van Canneyt

--- El vie 20-jun-08, Michael Van Canneyt escribi?:

Show quoted text 29 lines
De:: Michael Van Canneyt Asunto: [Lazarus] Grids patch... A: "Lazarus mailing list" Fecha: viernes, 20 junio, 2008, 1:51 pm Hello, I submitted a patch to Mantis. It: - publishes the ExtendedSelect and UseXorFeatures properties in TStringGrid and TDrawGrid (this is probably an omission) - positions and sets the value of a custom editor correctly when it set using the OnSelectEditor event: If a control was passed that listens to the Grid messages, it was only positioned after a column was sized or so. Now the messages are sent correctly when the control is selected. It makes it possible to show custom editors in a grid in a much easier manner. More patches will follow, but this one is a prerequisite. Michael.

Applied, only the first hunk didn't succeeded (?).

Thanks.

Jesus Reyes A.

____________________________________________________________________________________ Yahoo! Deportes Beta
?No te pierdas lo ?ltimo sobre el torneo clausura 2008! Ent?rate aqu? http://deportes.yahoo.com

Reply by email

Michael Van Canneyt
to Jesus Reyes
Jesus Reyes wrote 36 lines
--- El vie 20-jun-08, Michael Van Canneyt escribi?: > De:: Michael Van Canneyt > Asunto: [Lazarus] Grids patch... > A: "Lazarus mailing list" > Fecha: viernes, 20 junio, 2008, 1:51 pm > Hello, > > I submitted a patch to Mantis. It: > > - publishes the ExtendedSelect and UseXorFeatures > properties in > TStringGrid and TDrawGrid (this is probably an omission) > > - positions and sets the value of a custom editor correctly > when it set using the OnSelectEditor event: If a control > was passed that > listens to the Grid messages, it was only positioned > after a column > was sized or so. Now the messages are sent correctly when > the control > is selected. > > It makes it possible to show custom editors in a grid in a > much easier manner. > > More patches will follow, but this one is a prerequisite. > > Michael. > > Applied, only the first hunk didn't succeeded (?).

Probably because my version was a bit out of date. I noticed you did several updates since my last svn update...

Thanks.

Michael.

Reply by email