RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCommandProperties.InvalidateControl Method

InvalidateControl forces the underlying TCustomActionControl to redraw.

Pascal
procedure InvalidateControl(const ResetBounds: Boolean);
C++
__fastcall InvalidateControl(const Boolean ResetBounds);

InvalidateControl invalidates the TCustomActionControl used to draw the parent action client item. If the ResetBounds parameter is True, the control is forced to recalculate its bounds. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!