Page 1 of 1

Disable Dc_Dot()

Posted: Mon Nov 07, 2011 3:52 am
by PedroAlex
Hello!

How disable automatic functions running on app like Dc_Dot(), Dc_ErrorGui() and others..?

Thanks..
best Regards
Pedro

Re: Disable Dc_Dot()

Posted: Mon Nov 07, 2011 3:58 am
by Leon Berger
DCHOTKEY xbeK_ALT_D ACTION {||DC_Dot(.f.)}

Re: Disable Dc_Dot()

Posted: Mon Nov 07, 2011 4:25 am
by PedroAlex
Leon.

Thanks for feedBack.

1 - I found DC_DotHotKey(0). Its Works!, but is this correct!?

2 - To disable the express++ runtime error messages I call my personal errorSsys() function after the firt dcread gui and
it works!, but exist a way to disable the express runtime errors window!?



Thanks
Pedro

Re: Disable Dc_Dot()

Posted: Tue Nov 08, 2011 1:02 pm
by rdonnay
DC_Dot() hotkey is disabled by DC_DotHotKey(0).

Apparently you are using a function from the DCLIP1.DLL.

This contains an INIT PROCEDURE in _DCINIT.PRG that loads the eXpress++ error handler.

If you want to load your own error handler, you need to do it with ErrorBlock() in your Main() function.

Re: Disable Dc_Dot()

Posted: Wed Nov 09, 2011 8:41 am
by PedroAlex
Ok. Roger.

Thanks for the explanations..

Pedro