Grid row height

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
mol
Posts: 3214
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 223 times
Been thanked: 123 times
Contact:

Re: Grid row height

Post by mol » Wed Jul 27, 2016 5:20 am

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: 3214
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 223 times
Been thanked: 123 times
Contact:

Post by mol » Thu Jul 28, 2016 6:04 pm

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: 2044
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 35 times
Been thanked: 146 times
Contact:

Post by srvet_claudio » Fri Jul 29, 2016 2:07 am

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: 3214
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 223 times
Been thanked: 123 times
Contact:

Post by mol » Fri Jul 29, 2016 5:25 am

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: 2044
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 35 times
Been thanked: 146 times
Contact:

Post by srvet_claudio » Fri Jul 29, 2016 2:49 pm

Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
zolysoftsolutions
Posts: 121
Joined: Wed Feb 29, 2012 3:33 am
Location: Gyulakuta, Erdélyország
Has thanked: 1 time
Contact:

Post by zolysoftsolutions » Sat Feb 25, 2017 11:58 am

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
Has thanked: 100 times
Been thanked: 182 times

Post by Pablo César » Sat Feb 25, 2017 12:06 pm

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: 3214
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 223 times
Been thanked: 123 times
Contact:

Post by mol » Sat Feb 25, 2017 1:25 pm

Zoly, I think the code I posted is almost last version. If you have question - please ask, I'll answer.

User avatar
quartz565
Posts: 561
Joined: Mon Oct 01, 2012 12:37 pm
Location: Thessaloniki, Greece
Has thanked: 173 times
Been thanked: 20 times
Contact:

Post by quartz565 » Sat Feb 25, 2017 8:03 pm

Thank you Mol !
Best Regards,
Nikos.

os: Windows Server 2012 - 64
hw: HP Server E5606, 2.13GHz, 8.00 GB - Intel Xeon CPU

Post Reply