HMG 3.0.20 Final Release

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

Moderator: Rathinagiri

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

Re: HMG 3.0.20 Final Release

Post by mol »

I think, something is wrong with GRID control when used to browse database.
Try to add and delete some records.
Empty rows appear in grid.

Strange effects when clicking in the grid...
Attachments
etykiety.zip
(13.04 KiB) Downloaded 247 times
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: HMG 3.0.20 Final Release

Post by l3whmg »

Many thanks Roberto: great work.
Luigi from Italy
www.L3W.it
arroya2
Posts: 172
Joined: Thu Aug 06, 2009 7:16 am

Re: HMG 3.0.20 Final Release

Post by arroya2 »

Maravilloso el trabajo que está realizando.

Muy agradecido
Rafael Pérez
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG 3.0.20 Final Release

Post by Roberto Lopez »

mol wrote:I think, something is wrong with GRID control when used to browse database.
Try to add and delete some records.
Empty rows appear in grid.

Strange effects when clicking in the grid...
Ok.

I've not documented (I've forgot it) but, at the moment, data-bound grid DOES NOT SUPPORT the use of SET FILTER and SET DELETED commands.

Your sample uses SET DELETED, that is the problem.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
fchirico
Posts: 324
Joined: Sat Aug 23, 2008 11:27 pm
Location: Argentina

Re: HMG 3.0.20 Final Release

Post by fchirico »

Roberto Lopez wrote:Hi All,

Here we are... some months and 19 test releases later, the 3.0(.20) final release is here.
Thank You Roberto, this it´s a great versión.
Saludos, Fernando Chirico.
JALMAG
Posts: 265
Joined: Sun Jan 10, 2010 7:05 pm
DBs Used: DBF, MariaDB
Location: España - Spain

Re: HMG 3.0.20 Final Release

Post by JALMAG »

Gracias Roberto. Es impagable tu trabajo.
Un abrazo
ClaudioGalera
Posts: 47
Joined: Tue Jul 14, 2009 1:14 pm
Location: Mar del Plata, Argentina

Re: HMG 3.0.20 Final Release

Post by ClaudioGalera »

Thanks Master for this great release :)
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.20 Final Release

Post by Rathinagiri »

Hi Roberto,

I had used virtual grid in one of my projects today. I am really astonished to see the results. It is amazing! The speed is just unimaginable. :D

However, I could not use gridprint. :( I think I have to modify the gridprint code accordingly.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG 3.0.20 Final Release

Post by Roberto Lopez »

rathinagiri wrote:Hi Roberto,

I had used virtual grid in one of my projects today. I am really astonished to see the results. It is amazing! The speed is just unimaginable. :D

However, I could not use gridprint. :( I think I have to modify the gridprint code accordingly.
Ok.

I guess that the problem is how to get the data for a specific cell.

You have some different ways to do it.

The most straight way (if you refer to a grid bound to a table) is as follows:

Code: Select all

GetDataGridCellData ( nControlIndex , lTrueData)
To get the control index:

Code: Select all

nControlIndex := GetControlIndex ( cControlName , cWindowName) 
Regarding lTruedata, when .T. the function will return the current cell content. When .F. the function will return the cell data processed by DynamicDisplay (if it was specified).

If you want to retrieve the cell content for a non-data-bound grid, you must execute the same procedure as you execute for the OnQueryData procedure but tricking it to pass to it the required logical row and column.
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.20 Final Release

Post by Rathinagiri »

Thanks Roberto. This will return the current cell content. I want to go through all the cells one by one in a loop.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Post Reply