Re: REVISION OF GRID/BROWSE
Posted: Thu Dec 10, 2015 6:38 am
I want to know, why such a indempendent situation like divide by 0, totally not bound with grid, causes this behaviour...
Exclusive forum for HMG, a Free / Open Source xBase WIN32/64 Bits / GUI Development System
http://www.hmgforum.com/
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
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.
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