|
SYS-CON.TV Webcasts
Comments
Did you read today's front page stories & breaking news?
SYS-CON.TV
|
Top Links You Must Click On
Techniques Slick Tricks
Slick Tricks
By: Bernie Metzger
Feb. 1, 1999 12:00 AM
Setting Column Attributes at Runtime
The good thing about doing this in a function, of course, is that if you decide to change the color scheme later on, you have to change the code in only one place. Randy's code sets the protection of the column and the background.mode (transparency) property. The function (see Listing 1) first attempts to set the background mode. If it succeeds, it then proceeds to set the protection property. Clearly you can modify this function to set other properties to create a consistent "object-oriented" look to your DataWindows. Listing 2 shows some sample calls to the function. Randy Howie is a technical manager at American Skiing Company. He can be reached at rhowie@steamboat-ski.com Reader Feedback: Page 1 of 1
Enterprise Open Source Magazine Latest Stories . . .
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||