Tuesday, April 26, 2011

Setting Properties at Run Time




    You can also set or modify properties while your application is running.  To do this, you must write some code.  The code format is:

ObjectName.Property = NewValue

Such a format is referred to as dot notation.  For example, to change the BackColor property of a form name frmStart, we'd type: 

frmStart.BackColor = BLUE

No comments:

Post a Comment