Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Bug Reports
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Bug Reports Post about errors or bugs encountered.


Inconsistent error on non-existent method


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-22-2008, 10:07 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,752
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default Inconsistent error on non-existent method

Although perhaps not a bug as such I am raising this in case it is an indication of an underlying problem. If you try to call a non-existent method on different controls you get different bahaviour. Usually it is ignored but a TextBox gives an error. I haven't tested all the controls.

Code:
Sub App_Start
  Form1.Show
  Label1.NoSuchOp   ' is ignored
  Button1.NoSuchOp   ' is ignored
  TextBox1.NoSuchOp ' gives "object reference not set to an instance of an object"
End Sub
Reply With Quote
  #2 (permalink)  
Old 01-23-2008, 11:42 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,185
Default

It happens because of small differences in the controls implementations.
It will be fixed in a future version so each missing method will show a meaningful error message.
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Inconsistent compile error agraham Beta Versions 1 08-27-2008 06:34 PM
Close method for calendar control specci48 Basic4ppc Wishlist 0 11-04-2007 09:44 AM
HTTP maximum request size and method problems willisgt Questions & Help Needed 1 08-27-2007 08:10 PM
ArrayList Dispose Method RandomCoder Bug Reports 2 07-02-2007 01:57 PM


All times are GMT. The time now is 02:24 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0