Going into the details on how to set the properties yet. This code will change the shape to a circle at This example is to change the control's Shape using the Shape property. This example changes the background colour of the form using the BackColor property. Įxample 3.1: Program to change background color The properties windows which are showing up under ForeColor and BackColor. The hexadecimal system to represent the color. Example 3.1 show the code that willĬhange the form color to red every time the form is loaded. Properties at runtime to give special effects such as change of color, You may also alter the appearance of the form by setting it to 3D or flat,Ĭhange its foreground and background color, change theįont type and font size, enable or disable, minimize and maximize buttons and Under the name Caption and change it to other names. For example, in order to change the caption, just highlight Form1
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |