Home > Code Library > SmartViewport > CornerColor

Last Update 24 May 2001

 


Search:



  

Options:

   

   

   

   



SmartViewport
Reference

CornerColor

Returns or sets the color of the viewport corner. When ScrollBarType = svScrollbars and both scroll bars are visible, the viewport leaves an empty corner at the bottom-right area. You can set its color though property CornerColor.

Syntax

object.CornerColor [= value]

The CornerColor property syntax has these parts:

Part Description
object An object expression that evaluates to a SmartViewport object.
value A value or constant that determines the CornerColor color of an object as described in Settings.

Settings

The CornerColor property settings for SmartViewport are:

Constant Setting Description
svUseParent 0 The corner will take its color from the viewport container BackColor property.
svUseControl 1 The object will take its color from the viewport BackColor property.

At design time, the default CornerColor for the SmartViewport is set to svUseParent.

 
Copyright © 2001, Andrés Pons (andres@vbsmart.com). All rights reserved.