T
tonyjeffs
VC++Express;
I have a form with one button. This is my code for the button1 click
event.
BackColor=Color::Red; // Red is in the scope Color ?
changes
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).Text="BUTTON!";
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?
thanks
Tony
I have a form with one button. This is my code for the button1 click
event.
BackColor=Color::Red; // Red is in the scope Color ?
changes
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).Text="BUTTON!";
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?
thanks
Tony