HMG 2.8.3 (Forum Test)

HMG announcements; Latest HMG-related news, releases, fixes and updates.

Moderator: Rathinagiri

User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 2.8.3 (Forum Test)

Post 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
Viva INTERNATIONAL HMG :D
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG 2.8.3 (Forum Test)

Post 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.
Regards/Saludos,

Roberto


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

HMG 2.8.3: Current Status

Post 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.
Regards/Saludos,

Roberto


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

Re: HMG 2.8.3 (Forum Test)

Post 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:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG 2.8.3 (Forum Test)

Post 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.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
mol
Posts: 3720
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 2.8.3 (Forum Test)

Post 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
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 2.8.3 (Forum Test)

Post 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
Attachments
GridTst2.zip
Modified ( removed spinners ) version of GridTest.prg
(1.62 KiB) Downloaded 272 times
Viva INTERNATIONAL HMG :D
User avatar
fchirico
Posts: 324
Joined: Sat Aug 23, 2008 11:27 pm
Location: Argentina

Re: HMG 2.8.3 (Forum Test)

Post 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.
Saludos, Fernando Chirico.
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 2.8.3 (Forum Test)

Post 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
Viva INTERNATIONAL HMG :D
User avatar
fchirico
Posts: 324
Joined: Sat Aug 23, 2008 11:27 pm
Location: Argentina

Re: HMG 2.8.3 (Forum Test)

Post 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.
Saludos, Fernando Chirico.
Post Reply