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.


ControlType for ArrayList


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-17-2008, 01:13 PM
Junior Member
 
Join Date: Oct 2007
Location: Berkshire, UK
Posts: 29
Default ControlType for ArrayList

I guess this could be a small bug?

I have a sub that needs to determine the ControlType from a name parameter.

When the name is for an ArrayList, ControlType returns the string "System.Collections.ArrayList". This was unexpected as everything else returns only the simple type.

It is easy to workaround by checking in the string, just not the expected result.

I'm using version 6.05, writing on the desktop.

Geoff.
Reply With Quote
  #2 (permalink)  
Old 02-17-2008, 02:33 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,572
Default

Some controls are not "regular" controls.
The following controls will show a .Net name and namespace:
ArrayList
ImageList - Appears as an ArrayList
OpenDialog
SaveDialog
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 10:31 AM
Junior Member
 
Join Date: Oct 2007
Location: Berkshire, UK
Posts: 29
Default

Thanks Erel. That is useful information.

Geoff.
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
ArrayList Bobbes German Forum 2 02-25-2008 08:36 PM
ControlType() and library objects agraham Bug Reports 4 11-22-2007 11:00 AM
ArrayList won't dispose? willisgt Questions & Help Needed 1 08-30-2007 07:56 PM
Arraylist tvrman Questions & Help Needed 7 07-01-2007 10:42 AM
listbox = arraylist ? sloopa Questions & Help Needed 1 05-07-2007 12:38 PM


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


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