Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Const properties label & txtbox

Status
Not open for further replies.

matrixindicator

IS-IT--Management
Sep 6, 2007
418
BE
to maintain a uniform and easible changeable background, border, forecolor I need (like) to set the properties of labels and textboxes on a default, constante value on load of the application. I have seen something like this before, don't know the syntax. Can someone give a hint or example.
 
You can loop throught the controls collection and modify the properties based on the type of control you've currently reached.

Hope this helps

HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin

Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top