Grid row height
Moderator: Rathinagiri
Re: Grid row height
I want to share first draft of this system. Be nice to test and send me your opinions.
Marek
http://www.molsystemy.pl/hmg/touchsystem.zip
Marek
http://www.molsystemy.pl/hmg/touchsystem.zip
- dragancesu
- Posts: 921
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
Re: Grid row height
Maybe change position like
oMiniGrid := MiniGrid():New("MiniGrid", 350, 10, 750, 200, 1000, 5000, aHeaders, aWidths, aJust)
You have ID, name, quantity but you must add price, value and sumary on the screen
Problem is new line character (chr(10)) in article name, eliminate that in grid
And respect the hierarchy, move green button on top on always visible, and change blue button visible
oMiniGrid := MiniGrid():New("MiniGrid", 350, 10, 750, 200, 1000, 5000, aHeaders, aWidths, aJust)
You have ID, name, quantity but you must add price, value and sumary on the screen
Problem is new line character (chr(10)) in article name, eliminate that in grid
And respect the hierarchy, move green button on top on always visible, and change blue button visible
-
- Posts: 683
- Joined: Tue Jun 04, 2013 6:33 pm
- Location: Argentina
Re: Grid row height
Hi Mol:
First it's a nice sample and idea.-
I don't know if it's on my system, but multiline grid is very low speed.-
A suggestion: if you please next time post sample in english.-
Perhaps everyone who don't speak polish could understand easily commands.-
Again thanks for share your experience with us.-
With regards.
Eduardo
First it's a nice sample and idea.-
I don't know if it's on my system, but multiline grid is very low speed.-
A suggestion: if you please next time post sample in english.-
Perhaps everyone who don't speak polish could understand easily commands.-
Again thanks for share your experience with us.-
With regards.
Eduardo
Re: Grid row height
It's only first draft of app to create... Colors will be defined by users.dragancesu wrote:Maybe change position like
oMiniGrid := MiniGrid():New("MiniGrid", 350, 10, 750, 200, 1000, 5000, aHeaders, aWidths, aJust)
You have ID, name, quantity but you must add price, value and sumary on the screen
Problem is new line character (chr(10)) in article name, eliminate that in grid
And respect the hierarchy, move green button on top on always visible, and change blue button visible
Eduardo, thanks for interesting. I had no time to translate everything to English. I will do it, if you need...
Regards
- serge_girard
- Posts: 3167
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: Grid row height
Hello Marek,
It looks good! As Eduardo already mentioned: the GRID is slow (when used with scrollbars).
Serge
It looks good! As Eduardo already mentioned: the GRID is slow (when used with scrollbars).
Serge
There's nothing you can do that can't be done...
- luisvasquezcl
- Posts: 1258
- Joined: Thu Jul 31, 2008 3:23 am
- Location: Chile
- Contact:
Re: Grid row height
wow... a little slow but great job.
best regards,
luis vasquez
best regards,
luis vasquez
Re: Grid row height
I'm interested if it's possible to hide system sliders and replace it with two buttons - UP and DOWN, which could scroll window for row height?
-
- Posts: 683
- Joined: Tue Jun 04, 2013 6:33 pm
- Location: Argentina
Re: Grid row height
Hi Mol:
About hide system slider, i think that is not possible.-
I test puting a graphic over slider control, so end user must work over to buttons or labels to control up and down a number of rows, but to do this, grid must be dissabled.- I feel happy, but as i understood you need grid enable to respond to a touch screen, the proposal below won't be efficient.-
I'll continuing thinking if there is any other chance.-
With regards.
Eduardo
About hide system slider, i think that is not possible.-
I test puting a graphic over slider control, so end user must work over to buttons or labels to control up and down a number of rows, but to do this, grid must be dissabled.- I feel happy, but as i understood you need grid enable to respond to a touch screen, the proposal below won't be efficient.-
I'll continuing thinking if there is any other chance.-
With regards.
Eduardo
Re: Grid row height
Trucos, Trucos, Trucos...
--------------------------------
Tricks, Tricks, Tricks ...
Change in Main Window..
.....
// oMiniGrid := MiniGrid():New("MiniGrid", 20, 10, 230, 500, 250, 5000, aHeaders, aWidths, aJust)
oMiniGrid := MiniGrid():New("MiniGrid", 00, 785, 230, 600, 250, 5000, aHeaders, aWidths, aJust)
......
// @ nWiersz + nLiczbaWierszy*(nWysokosc+nPrzerwa), nKolumna+ (nLiczbaKolumn-1)*(nSzerokosc +nPrzerwa) LABEL L_Powrot ;
@ nWiersz + nLiczbaWierszy*(nWysokosc+nPrzerwa), 1 + (nLiczbaKolumn-1)*(nSzerokosc +nPrzerwa) LABEL L_Powrot ;
......
--------------------------------
Tricks, Tricks, Tricks ...
Change in Main Window..
.....
// oMiniGrid := MiniGrid():New("MiniGrid", 20, 10, 230, 500, 250, 5000, aHeaders, aWidths, aJust)
oMiniGrid := MiniGrid():New("MiniGrid", 00, 785, 230, 600, 250, 5000, aHeaders, aWidths, aJust)
......
// @ nWiersz + nLiczbaWierszy*(nWysokosc+nPrzerwa), nKolumna+ (nLiczbaKolumn-1)*(nSzerokosc +nPrzerwa) LABEL L_Powrot ;
@ nWiersz + nLiczbaWierszy*(nWysokosc+nPrzerwa), 1 + (nLiczbaKolumn-1)*(nSzerokosc +nPrzerwa) LABEL L_Powrot ;
......
Andrés González López
Desde Guadalajara, Jalisco. México.
Desde Guadalajara, Jalisco. México.
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Grid row height
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.
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.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.