Skip to main content

TcxContainer.RefreshContainer(TPoint,TcxMouseButton,TShiftState,Boolean) Method

Updates the container control.

Declaration

function RefreshContainer(const P: TPoint; Button: TcxMouseButton; Shift: TShiftState; AIsMouseEvent: Boolean): Boolean;

Parameters

Name Type
P TPoint
Button TcxMouseButton
Shift TShiftState
AIsMouseEvent Boolean

Returns

Type
Boolean

Remarks

This function is called when it is necessary to update an editor. It is updated by redrawing its elements (the inner editor, buttons, and borders). The function determines the region to update. For this purpose, it requires information on the mouse coordinates (the P parameter) and the state of the mouse buttons (the Button and Shift parameters). The AIsMouseEvent parameter specifies whether the update is performed due to the mouse event.

See Also