470,848 Members | 1,022 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,848 developers. It's quick & easy.

changing properties of a form at runtime

I have a form with one button. This is my code for the button1 click

BackColor=Color::Red; // Red is in the scope Color ?
color of Form1
button1->BackColor=Color::White; //changes color of button1
MessageBox::Show("Hello"); //Show is in the scope MessageBox???
button1->Text="BUTTON!"; //straightforward. Same as
button1->Font=("Arial"); //WRONG
It took me a while to figure some of these out by cribbing from
existing code on the web.
How would I more easily find out how to , for example, change the
font of the button text, or any feature of any control?


Nov 1 '07 #1
0 752

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Stefan Finzel | last post: by
1 post views Thread by Justin Carter | last post: by
1 post views Thread by Nick via .NET 247 | last post: by
5 posts views Thread by Kimmo Laine | last post: by
reply views Thread by jwallis | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.