Page 3 of 6

Re: HMG 2.8.3 (Forum Test)

Posted: Tue Apr 14, 2009 2:04 pm
by esgici
sudip wrote: ... A good tester "must" be like you!!! ...
Thanks, but I can't accept; you don't read my recent post about good/bad tester ?

Only a joke :)

Regards

--

Esgici

Re: HMG 2.8.3 (Forum Test)

Posted: Tue Apr 14, 2009 4:16 pm
by Roberto Lopez
gfilatov wrote: You are right! I've a small fix for this issue in h_windows.prg below:
<...>
Please be so kind to test it :arrow:
Grigory,

I've not tested, but I'm afraid that your solution allows multiple execution of OnChange event when you click in a different row and column, from previously selected.

Please, check it.

Regards,

Roberto.

HMG 2.8.3: Current Status

Posted: Tue Apr 14, 2009 5:38 pm
by Roberto Lopez
Well,

I've fixed the problems related to value property with OnChange event, but I've noticed about a new problem.

The problem is that adding event execution for selected column change, in certain situations, double or triple execution of the event occurs.

It could be hard to fix, so, maybe, the full release could be delayed some time.

I'll start researching about the problem ASAP.

Of course, any idea that help me to find a solution more quickly is welcome.

Regards,

Roberto.

Re: HMG 2.8.3 (Forum Test)

Posted: Tue Apr 14, 2009 5:43 pm
by gfilatov
Roberto Lopez wrote:
gfilatov wrote: You are right! I've a small fix for this issue in h_windows.prg below:
<...>
Please be so kind to test it :arrow:
Grigory,

I've not tested, but I'm afraid that your solution allows multiple execution of OnChange event when you click in a different row and column, from previously selected.

Please, check it.
Roberto,

I've tested with Esgici's sample and it runs a two OnChange events when you click in a different row and column.
But it may be right because you change a two elements - row and column :?:
If you click in a different row and similar column it runs one OnChange event.
If you click in a different column and similar row it runs one OnChange event also. :)

Remark: you should remove the OnChange events in the spinners in Esgici's sample :arrow:

Re: HMG 2.8.3 (Forum Test)

Posted: Tue Apr 14, 2009 6:02 pm
by Roberto Lopez
gfilatov wrote: I've tested with Esgici's sample and it runs a two OnChange events when you click in a different row and column.
But it may be right because you change a two elements - row and column :?:
In standard grid, you can select an entire row and 'Onchange' is fired when you change the selection (the row).

So (IMHO) when the selection is a single cell, Onchange should be fired when you change the selection to a different cell.
gfilatov wrote: If you click in a different row and similar column it runs one OnChange event.
If you click in a different column and similar row it runs one OnChange event also. :)
mmm... :)
gfilatov wrote: Remark: you should remove the OnChange events in the spinners in Esgici's sample :arrow:
OOPS! I've not noticed about that. It could screw up the tests...

I've must left this by now... I'll continue with it tonight.

Thanks!

Regards,

Roberto.

Re: HMG 2.8.3 (Forum Test)

Posted: Tue Apr 14, 2009 7:06 pm
by mol
I've tested CellNavigation in one of my projects and works very fine.

Roberto, please add this function to IDE rapidly... :-)
Now, I my must manually add phrase "Cellnavigation" to my .fmg files.

Super!

Marek

Re: HMG 2.8.3 (Forum Test)

Posted: Tue Apr 14, 2009 7:21 pm
by esgici
Hi Roberto and Grigory
Roberto Lopez wrote:
gfilatov wrote: Remark: you should remove the OnChange events in the spinners in Esgici's sample :arrow:
OOPS! I've not noticed about that. It could screw up the tests...
I had fully removed both spinners and added STATUS BAR for tracking changes.

Navigation with arrow keys works fine.

Changing only row ( without column, on same column ) by mouse click also has no problem.

When a column changed ( on same row or not ) by mouse click, column number doesn't change in STATUS BAR.

If you continue changing column by the same way, STATUS BAR shows previous value.

IMHO ( when column navigation made by mouse click );
Roberto Lopez wrote:the internal variables holding the new values were updates AFTER the event is called
Regards

--

Esgici

Re: HMG 2.8.3 (Forum Test)

Posted: Tue Apr 14, 2009 7:27 pm
by fchirico
Roberto Lopez wrote:Well...

I hope that this be the last one :)


I've made various changes:

1. I've eliminated Set CellNavigation On | Off command.
2. I've added the 'CellNavigation' property to grid.
3. I've modified the original sample and added another.
4. Fixed a problem with OnChange event (Thanks to Esgici).

The sources are attached to this message.

Please test it and report any problem.

If all goes fine I'll do a full release with it.

Roberto.
Roberto, perdoná mi ignorancia, el parche 2.8.3 lo debo actualizar sobre qué versión? lo hice sobre la 2.7.2 y cuando ejecuto el ejemplo GRID_21 me dá error, lo mismo que el ejemplo GridTest de Egisci y con GRID_22 no veo que la navegación sea por celda, evidentemente debe ser sobre otra versión no?

Saludos y gracias, Fernando Chirico.

Re: HMG 2.8.3 (Forum Test)

Posted: Tue Apr 14, 2009 7:33 pm
by esgici
Hola Fernando

I'm happy by seeing you in the "test team" :)

Please open .rar file on a clean ( not applied privious patch) version 2.81.

Saludos

--

Esgici

Re: HMG 2.8.3 (Forum Test)

Posted: Tue Apr 14, 2009 7:36 pm
by fchirico
esgici wrote:Hola Fernando

I'm happy by seeing you in the "test team" :)

Please open .rar file on a clean ( not applied privious patch) version 2.81.

Saludos

--

Esgici
Thank You Esgici for you words and help!!!

Saludos, Fernando Chirico.