SmartPhone multiple lines control

magellan8786

New member
Joined
Jun 1, 2007
Messages
1
Programming Experience
1-3
I am developing a really simple smartphone app.
I am trying to loop through an array and display the contents of the array.

The problem I am running into is the lack of controls that you can use when creatin a smartphone application. Does anyone have any recommendations on how to display multiple lines of information from the array? Thanks
 
You can use the Label control to display the text from an array. The following code would help you do the same:
Dim sport(3) As String
sport(0) = "Soccer"
sport(1) = "Cricket"
sport(2) = "Rugby"
Me.Label1.Text = sport(0) & ControlChars.NewLine & sport(1) & ControlChars.NewLine & sport(2)
Me.Label1.Size = New System.Drawing.Size(150, 55)

Regards,
~Dave
 

Latest posts

Back
Top