Re: c# Wcf to php problems Programming Web Development by LastMitch **@Dendei** > the database part is no problem i just need … TextBox - textchanged event Programming Software Development by Dendei … that knows where my textmarker is? Thank you for answers :) Dendei: Combobox problem Programming Software Development by Dendei … use some kind of listview? how? Thank you for answers Dendei. wcf object and array problem Programming Web Development by Dendei … i create a php string = this return array? thank you Dendei. create method that returns multiple variables? Programming Software Development by Dendei … both of them? or how do you write? thank you Dendei. Re: Date of a week Programming Software Development by ArkM [QUOTE=Dendei;818080]Hello i have an array of dates and want … Re: Truble with tim.start(); Programming Software Development by VernonDozier [QUOTE=Dendei;870754]Hi me and my class are getting this problem … Re: Truble with tim.start(); Programming Software Development by VernonDozier [QUOTE=Dendei;871446]well yes its suposed to start the program and … Re: TextBox - textchanged event Programming Software Development by ddanbe You could use one of the Key events, and perhaps do something like this: private void textBox1_TextChanged(object sender, EventArgs e) { //Your stuff here } private void textBox1_KeyUp(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter)… Re: TextBox - textchanged event Programming Software Development by Dendei I guess something like that will work but it will require the enter press :/ so then I have to explain that to new users and stuff that they have to press it before going on to next. I'll be a little cautious and wait and search some more :) but it is certainly an solution Re: TextBox - textchanged event Programming Software Development by nmaillet There's also the `Leave` event; it's fired when the TextBox loses focus. Just keep in mind, that if you have an `AcceptButton` set and the user presses <Enter>, the `Button.Click` event will fire, but the `Leave` event will not (since it never really loses focus). You may want to even look at the [validation logic](http://msdn.microsoft.com… Re: TextBox - textchanged event Programming Software Development by ddanbe The normal action would be to press the tab key to set the focus on the next textbox, depending on the tabindex property you set. Re: TextBox - textchanged event Programming Software Development by Dendei hmm interesting fould event Leave that will do the job perfectly when i leave the textbox input i'll check if it is taken not everytime i change a letter :) Re: Combobox problem Programming Software Development by Mike Askew The DisplayMember and ValueMember settings of the combo-box allow you to make the display value different to the selected one. Re: Combobox problem Programming Software Development by Dendei mhm yes thank you, i've been looking around some. anyone know a good guide about this comboboxes and datatables linked to it and displayMember and ValueMember? how do i fill in the alternatives? and stuff? Re: Combobox problem Programming Software Development by Mike Askew In my experience with listboxes (they use the same fields) You bind the datatable as the datasource of the combobox, then give the column names for the displaymember and valuemember as required. Re: Combobox problem Programming Software Development by Dendei still dont know how to start xD anyone have a decent guide on this? Re: Combobox problem Programming Software Development by Mike Askew Let me see if I can find some old code I've written.. Re: Combobox problem Programming Software Development by Mike Askew using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.OleDb; namespace DaniWebWinForm { public partial class Form1 : Form { … Re: Combobox problem Programming Software Development by Dendei yes thank you easy to follow and nice :) Re: Combobox problem Programming Software Development by Dendei tested your code but should'nt the age of the people be showing aswell in the combobox? and is there a way yo show the colums over name age mike jobs 23 ? :) Re: Combobox problem Programming Software Development by Mike Askew Nope the combo box was set to display the name only using the line: `comboBox1.DisplayMember = "Name";`, I added the Age field simply so I didnt just make two columns and assign each to a property. Give me a couple of mins to have a play and I'll see :) Re: Combobox problem Programming Software Development by Dendei hehe tried to just `comboBox1.DisplayMember = "Name" + "age";` and stuff but nono :P but yea would be nice to be able to show more so the user gets more information before choosing, and when they choose get the "NameID" to work with Re: Combobox problem Programming Software Development by Mike Askew Yeap I've tried that too! :p Re: Combobox problem Programming Software Development by Dendei seems like `comboBox1.DisplayMember` only takes one member :/ maybe need to make different Displaymembers somehow? :D Re: Combobox problem Programming Software Development by Dendei `comboBox1.DisplayMember = DS.Tables["NameTable"].Columns.ToString();` dont work I dont think im getting closer xD Re: Combobox problem Programming Software Development by Mike Askew Hmm it all depends on whether or not your able to edit the DataTables as to how you approach this. Its either add a new column to the datatable which contains a concatenation of the data you wish to display **or** write a custom class that overrides the combobox. Which I know there is code for on google because I've just looked at it :) Re: Combobox problem Programming Software Development by Dendei i guess i can `string Display = name + " - " + age + " - " + gender;` `DS.Tables["NameTable"].Columns.Add(Display);` something like that? since it just display anyway i can do what ever and use valuemember in my other code :) Re: Combobox problem Programming Software Development by Dendei hmm have to go but i will continue look into this soon, thank you for all help MikeyIsMe! Re: Combobox problem Programming Software Development by Mike Askew Yeap can do it exactly that way. Adaption to my code above would appear as the following: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.OleDb; …