REVISION OF GRID/BROWSE
Moderator: Rathinagiri
Re: REVISION OF GRID/BROWSE
I want to know, why such a indempendent situation like divide by 0, totally not bound with grid, causes this behaviour...
Re: REVISION OF GRID/BROWSE
Thanks Esgici, but, I know about errorblocks and I'm using it in my app for eg. reporting errors via e-mail.esgici wrote:Hi Marekmol wrote:Hi guys!
I want to refresh this topic and present modified sample 38 of grid. My friend was testing this sample with few version of HMG and got a lot of strange behaviours.
The display content of the grid becomes blank when you divide by 0 (call upper menu -> Divide -> Divide 3/0).
The display also stay blank when you lock LOCK.DBF file eg. by dbu before running this sample.
I'm attaching sample with .dbf files.
Regards, Marek
IMHO you need your own error recovery system in order to distinguish error situations from GRID's one.
Please look at attached demo ( slightly modified version of your test demo.prg);
I hope it will give you an idea
Viva HMG
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: REVISION OF GRID/BROWSE
It was a little and simple remedy as a temporary solution until the physician arrivemol wrote:...
Thanks Esgici, but, I know about errorblocks and I'm using it in my app for eg. reporting errors via e-mail.
You know : Pull yourself up by your bootstraps always is a good way.
Happy HMG'ing
Viva INTERNATIONAL HMG
Re: REVISION OF GRID/BROWSE
Can I see that the physician has not arrived yet?esgici wrote: ↑Fri Dec 11, 2015 4:16 pmIt was a little and simple remedy as a temporary solution until the physician arrivemol wrote:...
Thanks Esgici, but, I know about errorblocks and I'm using it in my app for eg. reporting errors via e-mail.
You know : Pull yourself up by your bootstraps always is a good way.
Happy HMG'ing
I also encountered this problem. I'll use errorblocks, if there is no other solution...I'll take the painkiller
Best regards,
Gabor
Gabor
Re: REVISION OF GRID/BROWSE
Gabor.
Try to use this patch: Follow the instructions: http://www.hmgforum.com/viewtopic.php?p=50218#p50218
Try to use this patch: Follow the instructions: http://www.hmgforum.com/viewtopic.php?p=50218#p50218
Re: REVISION OF GRID/BROWSE
Edward,
As I see it, just had to remove this line from ErrorSys.prg
_HMG_SYSDATA [ 347 ] := .F. // Grid Automatic Update
Thanks it's working fine. You are great.
As I see it, just had to remove this line from ErrorSys.prg
_HMG_SYSDATA [ 347 ] := .F. // Grid Automatic Update
Thanks it's working fine. You are great.
Best regards,
Gabor
Gabor
Re: REVISION OF GRID/BROWSE
Does anyone know how to add a label showing current computer memory, or some other method of watching memory as program runs.
I am not sure if I have a memory problem. I use temporary indexes and all files close when I leave the grid, or any othe screen. If the file is open somewhere else it does not close. I keep a counter on when the file is opened and closed. This was a lot of extra work but I always have done this.
I would like to watch memory this will tell what is happening.
I am not sure if I have a memory problem. I use temporary indexes and all files close when I leave the grid, or any othe screen. If the file is open somewhere else it does not close. I keep a counter on when the file is opened and closed. This was a lot of extra work but I always have done this.
I would like to watch memory this will tell what is happening.
All The Best,
Franco
Canada
Franco
Canada
Re: REVISION OF GRID/BROWSE
Try to use Timer and memory(). Parameters of memory(): https://github.com/harbour/core/blob/ma ... bmemory.ch
Also you can look at https://harbour.github.io/doc/harbour.h ... collectall
Also you can look at https://harbour.github.io/doc/harbour.h ... collectall
- srvet_claudio
- Posts: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: REVISION OF GRID/BROWSE
See in HMG doc: Advanced -> Memory, Processes and Threads