ImageEn, unit iexColorPalette

TIEColorPalette.GetCellRect

TIEColorPalette.GetCellRect


Declaration

function GetCellRect(idx: integer): TRect;


Description

Returns the area that the specified color cell is displayed.

Note: The returned value does not take scrolling into account (i.e. is not a screen value).


Example

// Return the area of the first cell
Rect := IEColorPalette1.GetCellRect( 0 );