PDA

View Full Version : Runtime error dialog



Petr Schreiber
22-09-2005, 20:31
Hi Eros,

I think it would look more "professional" if I could call the default Runtime Error dialog with some params from my module.

I have introduced some new runtime error checking , but I'v observed that MsgBox is now for "common" user just "something I won't read, just click it out" :).

The nice dialog which is part of thinBASIC DLLs ( thinBasic_RTE.DLL ? ) , or even simplified form could maintain the "thinBasic look" for all modules.

What do you think?


Thanks,
Psch

ErosOlmi
22-09-2005, 21:34
Hi Psch.

Your request is ok. I will have a look after release of next version that should take place by tomorrow.

I cannot use current RunTime Error engine because it makes a lot of thing but I will create one personalized message dialog with options.

Current RTE lib makes a lot of things:
[list]determine correct position inside the script
identify the wrong token and possibly highlight it
checks if script is running in gui, console or cgi mode
based on this different kind of user interactions will take place
also it try to stop execution of the script, not always an easy task.[/list:u]
I will let you know keeping this thread open.

Ciao
Eros