Results 1 to 13 of 13

Thread: PocketPC (WM2003) - ComboBox .Text (Resolved)

Threaded View

  1. #1

    Thread Starter
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429

    Resolved PocketPC (WM2003) - ComboBox .Text (Resolved)

    Hi Guys,

    I have a ComboBox that is loaded with values at Form_Load.

    Now, under the click event of a CommandButton, I want to display a string in the ComboBox, so I do:
    Me.ComboBox1.Text = "Hello World".

    Unfortunatly this dosn't work, the Text is not displayed!

    I have successfully tested the code on .Net windows App, but it fails under 'Smart Device Application' (PocketPC WM2003).













    Code:
     
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
     
    	ComboBox1.Items.Add("one")
     
    	ComboBox1.Items.Add("two")
     
    End Sub
     
     
     
    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
     
    	ComboBox1.Text = "Hello World"
     
    End Sub




    Bruce.
    Last edited by Bruce Fox; Jan 18th, 2005 at 02:56 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width