HMG GridPlus - New Version

Utilities like DBU, Make, IDE written in HMG/ used to create HMG based applications

Moderator: Rathinagiri

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

HMG GridPlus - New Version

Post by Pablo César » Mon Nov 21, 2016 7:31 pm

Looks like great Mr. Diamond !

I think I can give you my help with ruler adjustments...

Congratulations.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Tue Nov 22, 2016 1:20 pm

Hi Mr. Diamond,

I am happy to help you. :P

I tested you demos and saw it's crashing when scroll of Panel window. I never liked Panel Window... probably I do not know to use it properly. But it becomes so slow and in this case crashes it. So I decided to make a preliminary demo do sthis scrolling and margins adjustments with a GRID. Frist a used the precious BossTaurus function BT_BitmapSaveFile to create a bmp file and then used it by BackGroundImage on the grid.

I think we can control with this "marvel" resize function of column just to avoid resizing margins columns but scrollable to set it margins left and right ones. Also probably we would control the second grid where displays fields by re-positioning col and width of second grid.
Screen9.png
Screen9.png (10.37 KiB) Viewed 2831 times
Well, if my demo1, is not satifying your expectations I would stop now or going ahead. You can feel freely to assume it now from now, too. It's your decision. Let me know.

Sorry for my code not be in OOP because I am very donkey in OOP...
I hope it works for you.
Attachments
Demo1_Exe.rar
Executable file
(1.24 MiB) Downloaded 88 times
Demo1.rar
Source files
(3.27 KiB) Downloaded 69 times
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
Rathinagiri
Posts: 5234
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 160 times
Been thanked: 154 times
Contact:

Post by Rathinagiri » Tue Nov 22, 2016 2:33 pm

Hi,

I am sharing the new Grid+ Library with you.
GridPlus.zip
(23.82 KiB) Downloaded 163 times
Change Log:

- Various Bug Fixes
- MergeHeader Facility (See Demo_2)

Now I will make a feature freeze and write a Manual. Open to fix the bugs though.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
Rathinagiri
Posts: 5234
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 160 times
Been thanked: 154 times
Contact:

Post by Rathinagiri » Tue Nov 22, 2016 2:35 pm

Pablo,

I have just now seen your post and I like the idea of doing away with Panel Window (Which makes the library buggy, I don't know why. :( ) and having two grids one for margin and another for resizing.

I will go through your code and decide upon.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Tue Nov 22, 2016 2:47 pm

Ok Rathi

Nice to know it will help to you
Last edited by Pablo César on Tue Nov 22, 2016 7:48 pm, edited 1 time in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

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

Post by mol » Tue Nov 22, 2016 3:44 pm

Nice work!
Ps. Rat (word) does not look good, especially in the case of Rathi person ;-)

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Tue Nov 22, 2016 7:50 pm

Responded by celphone... you know Marek is it in small keyboard
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

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

Post by mol » Tue Nov 22, 2016 8:36 pm

I often use smartphone for browsing forum and such mistakes happened often, especially when your dictionary is turned on :-)
My post was for inserting some laugh here :D

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Tue Nov 22, 2016 10:15 pm

In this time I was without glasses... no dictionary corrector was actioned... was my lack of vision... (old man) :D
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
serge_girard
Posts: 2092
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 432 times
Been thanked: 92 times
Contact:

Post by serge_girard » Wed Nov 23, 2016 6:46 am

So, what do you prefer: a PC or a :mrgreen: phone...?


Serge

Post Reply