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

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

Bug Reports Post about errors or bugs encountered.

Door Library Null Reference Exception

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-15-2008, 02:03 AM
Junior Member
 
Join Date: Feb 2008
Posts: 47
Default Door Library Null Reference Exception

UseMnemonic property of Labels is giving me a problem. I am displaying one line of text from a database. It could contain a "&" and I do not want that replaced with a "_".

I first tried the following:

Label1.text=rStrReplace(text,"&","&&")

That was fine but I thought it would be better to just use the Door Library to set UseMnemonic to false:

Door.FromControl("Label1")
msgbox(Door.GetProperty("UseMnemonic")
Door.SetProperty("UseMnemonic",false)

Using either of the last 2 lines will cause a NullReferenceException error.

I'm using my previous code to get around this so just reporting my error.
Reply With Quote
  #2 (permalink)  
Old 07-15-2008, 05:46 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Label.UseMnemonic is not supported by .Net Compact Framework.
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
Door library (Beta) - Special library Erel Official Updates 60 01-13-2011 12:23 PM
Order a table with the library DOOR manu Beta Versions 0 09-04-2008 08:16 PM
First attempts at the door dll.. Cableguy Questions (Windows Mobile) 1 08-04-2008 12:10 PM
Door and GetProperty use dan kabestan Questions (Windows Mobile) 4 07-16-2008 07:46 PM
Trap the null value? conf Questions (Windows Mobile) 3 07-07-2007 01:49 PM


All times are GMT. The time now is 03:42 AM.


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