HMG 3.0.33

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

Moderator: Rathinagiri

User avatar
Czarny_Pijar
Posts: 172
Joined: Thu Mar 18, 2010 11:31 pm
Location: 19.2341 E 50.2267 N

Re: HMG 3.0.33

Post by Czarny_Pijar »

Roberto Lopez wrote:
Roberto Lopez wrote: Please, take a look at the following IDE GRID attached sample.
And please, let me know your experience. I want to solve any problem that arises and clarify any other question you have.
Happiness is short. Just turn this :

Code: Select all

Function Main

  sele 1
  Use b1emp

        Load Window Main
        Main.Center
        Main.Activate

Return
into this:

Code: Select all

Function Main

  sele 1
	Use b1emp
	sele 2
	Use b2sal

        Load Window Main
        Main.Center
        Main.Activate

Return
and we get this:
HMG Errorlog File
------------------------------------
Date:05/12/10 Time: 15:34:29
Error BASE/1102 Argument error: UPPER
Called from UPPER(0)
Called from _DEFINEGRID(162)
Called from MAIN(54)
------------------------------------
Attachments
2bases.zip
(1.75 KiB) Downloaded 245 times
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG 3.0.33

Post by Roberto Lopez »

Czarny_Pijar wrote:
Roberto Lopez wrote:
Roberto Lopez wrote: Please, take a look at the following IDE GRID attached sample.
And please, let me know your experience. I want to solve any problem that arises and clarify any other question you have.
Happiness is short. Just turn this :

Code: Select all

Function Main

  sele 1
  Use b1emp

        Load Window Main
        Main.Center
        Main.Activate

Return
into this:

Code: Select all

Function Main

  sele 1
	Use b1emp
	sele 2
	Use b2sal

        Load Window Main
        Main.Center
        Main.Activate

Return
and we get this:
HMG Errorlog File
------------------------------------
Date:05/12/10 Time: 15:34:29
Error BASE/1102 Argument error: UPPER
Called from UPPER(0)
Called from _DEFINEGRID(162)
Called from MAIN(54)
------------------------------------
I'll check it ASAP.

Thanks for the report.
Regards/Saludos,

Roberto


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

Re: HMG 3.0.33

Post by Roberto Lopez »

Roberto Lopez wrote:I'll check it ASAP.Thanks for the report.
I've fixed.

The happiness is here again ;)

Please, replace your libhmg.a with the one attached.
Attachments
libhmgtest.rar
(195.06 KiB) Downloaded 241 times
Regards/Saludos,

Roberto


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

Re: HMG 3.0.33

Post by Roberto Lopez »

gfilatov wrote:Please try to edit the first line of Grid by <Enter> key since the first cell in the sample below.
When you press Enter for exit from editing you'll move to 4th numeric cell but you should move to 2nd character editable cell.
It seems that there is a problem with CellValue property into ColumnWhen block :?:
I'm working on it right now.

You are right in both of your assumptions.

1. The problem was introduced in 3.0.31

2. The problem is that This.CellValue property is incorrect (the corresponding to the first column is always returned).

I'll still working on it.

Thanks for the sample and explanation. That facilitate my work a lot.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
srvet_claudio
Posts: 2223
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.0.33

Post by srvet_claudio »

Gracias Roberto por esta nueva actualización.
Saludos,
Claudio Soto.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG 3.0.33

Post by Roberto Lopez »

Roberto Lopez wrote:
I'm working on it right now.

You are right in both of your assumptions.

1. The problem was introduced in 3.0.31

2. The problem is that This.CellValue property is incorrect (the corresponding to the first column is always returned).

I'll still working on it.

Thanks for the sample and explanation. That facilitate my work a lot.
And the 'guilty' code is:
- Modified: Exiting from grid cell edit, jumps to the next editable cell. Requested by Sudip.
Will be very difficult to keep this functionality and 'When' working... I'll try...
Regards/Saludos,

Roberto


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

Re: HMG 3.0.33

Post by Roberto Lopez »

gfilatov wrote:
Roberto Lopez wrote:- HMG 3.0.33 Changelog:

- Fixed: Grid 'ColumnWhen' property problems. Reported by Claudio.

...
Hello Roberto,

There is an other problem with Grid 'ColumnWhen' moving after HMG 3.0.31.
<...>
I've fixed. Please test with the attached library.
Attachments
test3033c.rar
(195.37 KiB) Downloaded 260 times
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Rathinagiri
Posts: 5481
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.0.33

Post by Rathinagiri »

Thanks a lot Roberto. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Czarny_Pijar
Posts: 172
Joined: Thu Mar 18, 2010 11:31 pm
Location: 19.2341 E 50.2267 N

Re: HMG 3.0.33

Post by Czarny_Pijar »

Let's say this is the 3.0.33d version :)
User avatar
gfilatov
Posts: 1100
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: HMG 3.0.33

Post by gfilatov »

Thanks a lot Roberto. It works smoothly now. 8-)
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
Post Reply