View Single Post
  #3 (permalink)  
Old 06-23-2009, 07:05 PM
taximania's Avatar
taximania taximania is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 492
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi Pdablue. Erel's suggestion is probably the best one for you.

If you remember a while ago, I told you there are better ways of coding.
IE: Don't use repetative 'Subs' for Controls, Labels etc etc.

Your slide show example A simple Slide Show program example for the PDA. has '15' subs to alter the Timer1.Interval=?

Use a ComboBox on your Form1 instead.
Load the ComboBox Data using the device IDE, etc

1000
2000
3000
4000
5000


Code:
Sub Globals
	'Declare the global variables here.
End Sub

Sub App_Start
	Form1.Show
	combobox1.SelectedIndex=0
End Sub

Sub ComboBox1_SelectionChanged (Index, Value)
Timer1.Interval=Value
End Sub
Thats not 15 lines of code. Never mind 15 seperate subs.

I learnt a lot from your website about the Bluetooth stuff
Only trying to help
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.net

Last edited by taximania : 06-23-2009 at 07:08 PM. Reason: 10,20,30,40,50 aren't very long intervals ;-)
Reply With Quote