RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleControl.GetBorder Method

Returns the rectangle in which the ActiveX control can draw toolbars.

Pascal
function GetBorder(out rectBorder: TRect): HResult; stdcall;
C++
__fastcall __stdcall HRESULT GetBorder(TRect rectBorder);

Call GetBorder to receive the rectangle in which the ActiveX control can draw custom controls, such as toolbars. The drawn controls are only visible when the container is in place mode. 

 

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