Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > B4PEngine1
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

B4PEngine1 Discussions related to B4PEngine - Script library for .Net applications.

Two B4PEndOfProgram events on error

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-11-2009, 06:00 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default Two B4PEndOfProgram events on error

When a Script ends due to an error I am getting two B4PEndOfProgram events raised if I have shown a Form .

Also it would be nice for the B4PEndOfProgram event code to be able to know if the program ended without error or not, perhaps by a property in B4P.

Code:
AddForm("Form1")
Form1.Show
DoEvents ' allow Form to be shown
doh ' deliberate error causes two B4PEndOfProgram events
By the way, my Debugger library works fine as long as a Form is shown by the Script .
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.

Last edited by agraham : 10-11-2009 at 06:04 PM.
Reply With Quote
  #2 (permalink)  
Old 10-11-2009, 07:11 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

THANK YOU
It will be fixed.

I think it is a good idea. Note that you can handle the exceptions yourself by setting the ShowDialogOnError property.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Button Events derez Basic4ppc Wishlist 6 02-24-2009 10:17 AM
Events for PIM (Outlook) related events dreamcove Questions (Windows Mobile) 1 02-14-2009 11:00 AM
textBox : add TextChanged events or other events abys Code Samples & Tips 1 09-01-2008 06:41 PM
Timing between events Zenerdiode Questions (Windows Mobile) 1 08-26-2008 06:34 AM
more events Sven Kommers Basic4ppc Wishlist 3 06-08-2007 09:53 AM


All times are GMT. The time now is 09:52 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0