Parent Window Title Gets Deactive while editing GRID's Cell

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
shridhar
Posts: 32
Joined: Mon May 25, 2009 5:24 am

Parent Window Title Gets Deactive while editing GRID's Cell

Post by shridhar »

Parent Window Title Gets unfocused while editing Cell of GRID.

I have found above issue with GRID edit cell. Please follow the below step to find the same.

1. Run the a demo example of GRID_23 folder in SAMPLES folder of HMG 2.9.1

2. Before edit a cell see the Parent Windows Title Bar of gird, It seems like active window

3. Edit any cell while editing see the Parent Window Title Bar, it seems like deactive window.
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Parent Window Title Gets Deactive while editing GRID's Cell

Post by Roberto Lopez »

shridhar wrote:Parent Window Title Gets unfocused while editing Cell of GRID.

I have found above issue with GRID edit cell. Please follow the below step to find the same.

1. Run the a demo example of GRID_23 folder in SAMPLES folder of HMG 2.9.1

2. Before edit a cell see the Parent Windows Title Bar of gird, It seems like active window

3. Edit any cell while editing see the Parent Window Title Bar, it seems like deactive window.
The editing cell window is modal, so, all other windows become inactive.

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
gfilatov
Posts: 1087
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: Parent Window Title Gets Deactive while editing GRID's Cell

Post by gfilatov »

shridhar wrote:Parent Window Title Gets unfocused while editing Cell of GRID.

I have found above issue with GRID edit cell.
Hello,

That's right because the Cell editing window is an other MODAL window.
Take a look for the function _HMG_GRIDINPLACEEDIT() in source\h_grid.prg (there is _hmg_grid_inplaceedit window here :o).
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
shridhar
Posts: 32
Joined: Mon May 25, 2009 5:24 am

Re: Parent Window Title Gets Deactive while editing GRID's Cell

Post by shridhar »

Thanks Master ...! :

But is there any way to avoid this issue :?:
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Parent Window Title Gets Deactive while editing GRID's Cell

Post by Roberto Lopez »

shridhar wrote:Thanks Master ...! :

But is there any way to avoid this issue :?:
Eventually yes, but it will require deep modifications in grid code.

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
Post Reply