Copyright © 1998-2006 MultiMedia Soft 
Return to index  
 
Texture.Mode property 
 
Type
long for Visual C++ 
enumTextureModes for Visual Basic
 
 
Syntax
object.Texture.Mode  [=enumTextureModes]
 
 
Remarks
The mode used to display a texture, loaded into the Texture.Filepath property, over the button surface. 
Supported values are the following: 
Mnemonic constant
Value
Meaning
TEXTURE_NONE
0
No texture displayed: this setting is useful when you want to hide the available texture without removing the current texture settings. 
TEXTURE_WHOLE
1 (default)
The texture covers completely the button surface. 
TEXTURE_OUTSIDE
2
The texture is displayed only on the external part of the button surface when a special effect (see the SpecialEffect property) is applied. 
TEXTURE_INSIDE
3
The texture is displayed only on the internal part of the button surface when a special effect (see the SpecialEffect property) is applied. 
 
 
See also
Texture object. 
TextureSurface property. 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 1998-2006 MultiMedia Soft 
Return to index