Displaying Dynamic text on forms
-
Hi all does anyone know if its possible to dynamically assign text to a label?? or if any other method could be used to dynamically display text on a form?? everything i've come across seems to use string literals!! regards Paul Paul Griffin
-
Hi all does anyone know if its possible to dynamically assign text to a label?? or if any other method could be used to dynamically display text on a form?? everything i've come across seems to use string literals!! regards Paul Paul Griffin
Hope I have not misread what you are after, as what I think you are after is really easy On you form you have a label called lblMessage that says "hello" and a button called butChange add the method private void butChange_Click(object sender, System.EventArgs e) { lblMessage.Text = "new text" ; } hope this helps and sorry if i missed the point :beer: Reiss