![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi all,
I'm using Basic4PPC V6.05 and want to load a ComboBox with a series of items (sample code is below). Sub App_Start Form1.Show For i = 1.01 To 12 Step 0.01 If i = 1.45 Then ComboBox1.Add (i & " xxx") Else If i = 2.5 Then ComboBox1.Add (i & " xxx") Else ComboBox1.Add(i) End If End If Next i ComboBox1.SelectedIndex = 399 ' default display = 5 = index 399 End Sub If I run the above inside the IDE its fine but when compiled to either device or desktop the combobox loads ok to "2.27" and the next value becomes "2.2799999999". The extra 0.009999999999's are then added to all subsequent items in the ComboBox. Any suggestions to solve this problem? Thanks in advance mollin1 |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Load .csv to Table | alexeew | Questions & Help Needed | 5 | 12-16-2007 09:01 AM |
| Program load | stevefan | Questions & Help Needed | 1 | 12-07-2007 07:24 AM |
| ComboBox and ArrayList problem. | kyto | Questions & Help Needed | 5 | 10-12-2007 10:15 AM |
| Load time | BPak | Questions & Help Needed | 3 | 08-28-2007 04:27 AM |
| Load GPX-File | mcflaytasche | Questions & Help Needed | 1 | 05-11-2007 10:01 AM |