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

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

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Populate ComboBox

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-03-2008, 07:55 PM
linum's Avatar
Senior Member
 
Join Date: Sep 2008
Posts: 108
Default Populate ComboBox

Can somebody post an example on how I can populate a combobox from a csv file or from a table?

Thank you so much...





linum
Reply With Quote
  #2 (permalink)  
Old 09-03-2008, 08:49 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Something like:
Code:
Sub App_Start
    Form1.Show
    Table1.LoadCSV(
"CSVFILE.csv" , "," ,False,True)
    
For i = 0 To Table1.RowCount-1
        combobox1.Add(table1.Cell(
"ColumnName",i))
    
Next
End Sub
Reply With Quote
  #3 (permalink)  
Old 09-03-2008, 09:44 PM
linum's Avatar
Senior Member
 
Join Date: Sep 2008
Posts: 108
Default

Thank you....

I had been looking all over the forum for an example and I never found anything.


Thank you again...
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
ComboBox Value RandomCoder Basic4ppc Wishlist 7 11-18-2011 12:08 PM
ComboBox ceaser Questions (Windows Mobile) 2 08-25-2008 04:52 PM
AddEvent with ComboBox erik58 Questions (Windows Mobile) 2 05-24-2008 03:38 PM
ComboBox Raytracer Italian Forum 3 04-15-2008 05:15 PM
combobox and sqlite dennishea Questions (Windows Mobile) 2 03-22-2008 10:48 AM


All times are GMT. The time now is 01:14 AM.


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