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

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

Beta Versions This forum is the place to discuss issues regarding Basic4ppc beta versions.

ListBox and ComboBox

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-24-2010, 12:22 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 3,826
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default ListBox and ComboBox

Hi Erel,

I found an error in the ListBox and ComboBox SelectionChanged routines.
Examples:
ListBox1_SelectionChanged (Index, Value)
ComboBox1_SelectionChanged (Index, Value)
Index returns the value instead of the index.
Value has no value.

Attached a test program.

Best regards.

EDIT:
petrbury was fater than me.
Attached Files
File Type: sbp ListBox.sbp (1.1 KB, 18 views)
__________________
Klaus
Switzerland

Last edited by klaus : 02-24-2010 at 01:03 PM.
Reply With Quote
  #2 (permalink)  
Old 02-28-2010, 08:46 PM
Merlot2309's Avatar
Basic4ppc Veteran
 
Join Date: Feb 2009
Location: Spain
Posts: 288
Default

Not sure, sure but I think it's the same in the current version.

Using 2 tables and I want to add the records from the 2nd table that match the id from the first table (in a ComboBox)
The code is: Sub cbFam_SelectionChanged (id, Value) and the column id always returns the sqlite index instead of the id value.

Thanks in advance,
Helen
__________________
IPhone 4 - HTC Legend - HTC Touch Diamond 2
Android 2.2 Tablet 10.2" (Chinese Superpad 3)
Reply With Quote
  #3 (permalink)  
Old 02-28-2010, 09:48 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 3,826
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

No the ListBox and ComboBox SelectionChanged routines work well in the new version.
There must be something wrong in your code.

Best regards.
__________________
Klaus
Switzerland
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
Enhanced ComboBox / Listbox Dragonspank Code Samples & Tips 14 02-20-2009 09:42 AM
Listbox and enter key tsteward Questions (Windows Mobile) 2 10-14-2008 07:30 AM
How to fix ListBox Items? Stellaferox Questions (Windows Mobile) 12 02-22-2008 10:50 AM
Listbox difficulties. dan kabestan Questions (Windows Mobile) 2 12-15-2007 07:24 PM
listbox = arraylist ? sloopa Questions (Windows Mobile) 1 05-07-2007 01:38 PM


All times are GMT. The time now is 09:39 PM.


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