ThisWindow.Name - while editing grid

Moderator: Rathinagiri

Post Reply
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

ThisWindow.Name - while editing grid

Post by mol »

If you want to get ThisWindow.Name while editing cells in the GRID, you will get _HMG_GRID_INPLACEEDIT

I think, it's a bug... It should return name of parent window.

Mark
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: ThisWindow.Name - while editing grid

Post by Roberto Lopez »

mol wrote:If you want to get ThisWindow.Name while editing cells in the GRID, you will get _HMG_GRID_INPLACEEDIT

I think, it's a bug... It should return name of parent window.

Mark
I'll check it...
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: ThisWindow.Name - while editing grid

Post by Roberto Lopez »

mol wrote:If you want to get ThisWindow.Name while editing cells in the GRID, you will get _HMG_GRID_INPLACEEDIT

I think, it's a bug... It should return name of parent window.

Mark
It's a bug.

In Grid's 'ColumnValid' event you receive a reference to '_hmg_grind_inplaceedit' window, instead the Grid parent window.

I'll fix for the next release.

Thanks for reporting.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
Post Reply