FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
TFlexCelImport.SplitWindow Method

This command is equivalent to Menu->Window->Split.

Pascal
procedure SplitWindow(const xOffset: integer; const yOffset: integer);
C++
__fastcall SplitWindow(const int xOffset, const int yOffset);
Parameters 
Description 
const xOffset: integer 
Offset from the left on 1/20 of a point. Zero for no vertical split. (A point is 1/72 of an inch) 
const yOffset: integer 
Offset from the top on 1/20 of a point. Zero for no horizontal split. (A point is 1/72 of an inch) 

It will split the window in 4 regions. Note that because Excel works this way, when you FreezePanes (TCellAddress) the windows are unsplitted and vice-versa See also GetSplitWindow

Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!