Billing system
Moderator: Rathinagiri
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Billing system
Yes. This I have used in many projects. If a grid is focused and an user presses DEL key, I will delete the row. However, if he presses DEL key outside the grid, the normal operation will continue.
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.
Re: Billing system
very smart and interesting idea !rathinagiri wrote:I too get this problem Esgici.
But I have avoided by using like this.
By this way, we can restrict the key usage to a single control.Code: Select all
public lFocused := .f. define window blah blah define grid blah row 10 col 10 on gotfocus lFocused := .t. on lostfocus lFocused := .f. end grid on key DOWN action doarrowaction() end window function doarrowaction if lFocused endif return nil
I'll try to implement it... It's easy because all buttons are defined in the loop, so few lines of code will be enough to realise it.
THX Rathi!
Re: Billing system
I've modified code, but ... Main menu doesn't take focus from other controls ...
So, this idea is not for use...
Maybe I'll find something different.
Best regards, Marek
So, this idea is not for use...
Maybe I'll find something different.
Best regards, Marek
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Billing system
I will try a small sample Marek.
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.
Re: Billing system
Dear Marek
Interest to see Billing system source code
Interest to see Billing system source code
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
Re: Billing system
I've send you link in private message. So, happy testing!
Re: Billing system
Dear Marek
No word for your Excellant code
It is not code but, is BIBLE for me to learn somthing
Thank you for sharing your hard work
No word for your Excellant code
It is not code but, is BIBLE for me to learn somthing
Thank you for sharing your hard work
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
Re: Billing system
It's my pleasure to help you!
Best regards, Marek
Best regards, Marek
Re: Billing system
I've made some changes in function displaying table of invoices. It's incredible, how relations can slow down the program in the network environment:
You can watch old version with relations and filter:
http://www.molsystemy.pl/hmg/1-stara-wersja.avi
and quick new version:
http://www.molsystemy.pl/hmg/2-nowa-wersja.avi
You can watch old version with relations and filter:
http://www.molsystemy.pl/hmg/1-stara-wersja.avi
and quick new version:
http://www.molsystemy.pl/hmg/2-nowa-wersja.avi
Re: Billing system
Hi Malek,
it would be nice to know which are the changes you did in the code
Francesco
it would be nice to know which are the changes you did in the code
Francesco