Thread: how to set text of button1.text to something

  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    26

    how to set text of button1.text to something

    I would like to change the text in my button1 at a specific time durning my application to something that is stored in an int

    I remember a long time ago, I used something like int32.parse(string)



    can someone please help me on this. I know I cant just go

    int Myint = 15;
    Button1.text = Myint;

    because you cant do that AFAIK.
    Last edited by GUIPenguin; 07-07-2006 at 02:18 PM.

  2. #2
    Anti-Poster
    Join Date
    Feb 2002
    Posts
    1,401
    Myint.ToString()
    If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to use FTP?
    By maxorator in forum C++ Programming
    Replies: 8
    Last Post: 11-04-2005, 03:17 PM
  2. LISP (DrScheme) any one?
    By Jeremy G in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 03-31-2004, 12:52 PM
  3. how to set variable of a text box?
    By Jasonymk in forum C++ Programming
    Replies: 1
    Last Post: 02-05-2003, 11:11 AM
  4. Validating the contents of a char buffer
    By mattz in forum C Programming
    Replies: 3
    Last Post: 12-09-2001, 06:21 PM
  5. Moving to the next structure array
    By mattz in forum C Programming
    Replies: 2
    Last Post: 11-30-2001, 03:43 PM