Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
BackTranspFactor property (Cells) 
Remarks
Applies alpha channel transparency to the background of the cell identified by the UniqueID parameter. 
Further information about cells management can be found inside the How to manage cells section. 
Further information about alpha channel transparency management can be found inside the How to manage alpha channel transparency section.
Get / Set functions
 
short abmCellsGetBackTranspFactor
HWND hWndBtn
short nUniqueID 
); 
 
BOOL abmCellsSetBackTranspFactor
HWND hWndBtn
short nUniqueID
short nFactor 
); 
 
Parameters
Description
hWndBtn
Windows handle associated to the button.
nUniqueID
Numerical value representing the cell's unique identifier.
nFactor
The alpha channel transparency factor. 
This property value can range from a default value of 0 (total opacity) to a value of 255 (total transparency).  A value entered out of this range produces a value of  0. 
Below you can see a screenshot of three buttons with a background picture inserted through the control's Picture property; the button on the left is the original button with no visible cell; the button in the middle has a cell with a caption text, a cyan solid background and a 5 pixels wide blue border; the button on the right has exactly the same characteristics as the one on the middle but the BackTranspFactor property has been set to 158: as you can see, the original button's picture can be seen through the cell's background. 
 
 
 
 
 
 
 
 
 
 
Copyright © 2002-2009 MultiMedia Soft 
Return to index