Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I just tried to replicate your issue (but running on FF) with the following code and it is working fine:</p> <pre><code>using System; using System.Windows.Forms; namespace combotest { class MainClass { public static void Main (string[] args) { WinForm form = new WinForm (); Application.Run (form); //Console.WriteLine("Hello World!"); } } public class WinForm : Form { public WinForm () { InitializeComponent (); } ComboBox comboBox1; TextBox textBox1; private void InitializeComponent () { this.Width = 400; this.Height = 300; this.Text = "My Dialog"; Button btnOK = new Button (); btnOK.Text = "OK"; btnOK.Location = new System.Drawing.Point (10, 10); btnOK.Size = new System.Drawing.Size (80, 24); this.Controls.Add (btnOK); btnOK.Click += new EventHandler (btnOK_Click); comboBox1=new ComboBox(); comboBox1.Location = new System.Drawing.Point (10, 50); comboBox1.Size = new System.Drawing.Size (80, 24); comboBox1.DropDownStyle=ComboBoxStyle.DropDownList; this.Controls.Add (comboBox1); textBox1=new TextBox(); textBox1.Location = new System.Drawing.Point (100, 50); textBox1.Size = new System.Drawing.Size (80, 24); this.Controls.Add (textBox1); this.SuspendLayout(); String[] iList=new String[]{"text0","text1","text2","text3","text4"}; comboBox1.Items.AddRange(iList); comboBox1.SelectedIndex=0; this.ResumeLayout(); comboBox1.KeyPress+=new KeyPressEventHandler(comboBox1_KeyPress); } private void comboBox1_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == (char)Keys.Tab) return; if (e.KeyChar.ToString().ToUpper() == "A") { e.Handled = true; comboBox1.SelectedIndex = 2; textBox1.Text=comboBox1.SelectedItem.ToString(); } } private void btnOK_Click (object sender, System.EventArgs e) { this.DialogResult = DialogResult.OK; this.Close (); } } } </code></pre> <p>So I assume you are having some additional code or event attached to the comboBox or it really behaves different within FF.</p> <p>You may test your app also running within FF by just going to the bin\Debug dir within your PC's file explorer and then start your SmartDevice application on the PC by double clicking the exe file. Normally (no special DLLs referenced) it should run on PC too as the CF is downside compatible to FF.</p> <p>If you still have an issue please post a minimized code sample that demonstrates your issue.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload