Grid row height

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

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

Re: Grid row height

Post by mol »

Rathinagiri wrote:Really a wonderful idea.

IMHO, when you go for designing a new type of control, try to take control of everything possible.

For example, you don't need to define new labels all the time. (more the rows more the problems with system memory. Instead you can predefine the fixed number of labels in the particular panel. When you want to scroll, you can have a system of moving the data from one label to adjacent label.

We can adapt the functionality of virtual grid. It is so fast. Even though we have 1000000 records, the virtual grid deals only with that particular set of records to be shown on the screen. When you move or scroll it is not the grid moving, it is the data moving! Grid remains the same.

Marek, your MiniGrid is really a perfect candidate for an alternative for grid with customizable cell formatting. Kudos to you! Keep up. I will try to help.
Thanks for your kindly words!
I didn't take in my my mind similar to virtual grid solution, because I nedd to display max 20 positions, but, it's great idea!
I'll try to adapt it.
Regards, Marek
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Small gastro sample

Post by mol »

I want to present new version of my small gastro system.
You can define sale charts taking goodies from attached database.
I'm attaching only bineries. If anybody is interested in sources, I can send them via e-mail.
This sample is only in Polish language, but you can observe, how it works...
Plesae download from my server: http://www.molsystemy.pl/hmg/smallgastro.zip
Regards, Marek
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Grid row height

Post by srvet_claudio »

serge_girard wrote:Hello Marek,

It looks good! As Eduardo already mentioned: the GRID is slow (when used with scrollbars).

Serge
You use for example:

SET SCROLLSTEP TO 30
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Grid row height

Post by mol »

srvet_claudio wrote:
serge_girard wrote:Hello Marek,

It looks good! As Eduardo already mentioned: the GRID is slow (when used with scrollbars).

Serge
You use for example:

SET SCROLLSTEP TO 30
I didn't know this command, thank you!
Is it the way to read current scrollstep?
How to scroll window by command? Is it possible?
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Grid row height

Post by srvet_claudio »

Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
zolysoftsolutions
Posts: 139
Joined: Wed Feb 29, 2012 3:33 am
Location: Gyulakuta, Erdélyország
Contact:

Re: Small gastro sample

Post by zolysoftsolutions »

Hi Marek,

Please, if is possibble sent to me the source of the "smallgastro system".
I am interested for the minigrid based on labels and is also interesting the solution you found to multiple quantity :)
My email: zolisoft2014@gmail.com
Thank you very much.

Best regards,
Zoly B.
_______________________________
Open eyes for you!
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Grid row height

Post by Pablo César »

Zoly, do not need to ask for emailing you... (That business of asking in private, is not interesting for the forum and neither for us) :|

There is already available at forum. See here: viewtopic.php?p=45927#p45927

By the way ... your work on TouchScreen (labels and grid) is very good Marek.

I had not realized this detail before and now I tested and it worked...

Thanks for sharing, Marek.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Grid row height

Post by mol »

Zoly, I think the code I posted is almost last version. If you have question - please ask, I'll answer.
User avatar
quartz565
Posts: 667
Joined: Mon Oct 01, 2012 12:37 pm
Location: Thessaloniki, Greece
Contact:

Re: Grid row height

Post by quartz565 »

Thank you Mol !
Best Regards,
Nikos.

os: Windows Server 2019 - 64
Post Reply