.CtrlLib: ArrayCtrl docs

git-svn-id: svn://ultimatepp.org/upp/trunk@3065 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2011-01-23 08:42:04 +00:00
parent ce8336050d
commit 9896dba8ac
2 changed files with 28 additions and 1 deletions

View file

@ -615,7 +615,7 @@ public:
ArrayCtrl& NoFocusSetCursor() { focussetcursor = false; return *this; }
ArrayCtrl& MovingHeader(bool b) { header.Moving(b); return *this; }
ArrayCtrl& NoMovingHeader() { return MovingHeader(false); }
ArrayCtrl& ColumnSortFindKey() { columnsortfindkey = true; return *this; }
ArrayCtrl& ColumnSortFindKey(bool b = true) { columnsortfindkey = b; return *this; }
ArrayCtrl& AllSorting();
ArrayCtrl& ColumnSortSecondary(const Order& order) { columnsortsecondary = ℴ return *this; }
ArrayCtrl& NoColumnSortSecondary() { columnsortsecondary = NULL; return *this; }

View file

@ -1124,6 +1124,28 @@ Sb]()&]
[s7; [*/ Return value]-|[* `*this]&]
[s3; &]
[s4;%- &]
[s5;:ArrayCtrl`:`:HideSb`(bool`):%- [_^ArrayCtrl^ ArrayCtrl][@(0.0.255) `&]_[* HideSb]([@(0.0.255) b
ool]_[*@3 b]_`=_[@(0.0.255) true])&]
[s2; Hides vertical scrollbar (even if it would be needed).&]
[s3; &]
[s4;%- &]
[s5;:ArrayCtrl`:`:AutoHideHorzSb`(bool`):%- [_^ArrayCtrl^ ArrayCtrl][@(0.0.255) `&]_[* Auto
HideHorzSb]([@(0.0.255) bool]_[*@3 b]_`=_[@(0.0.255) true])&]
[s2; Makes horizontal scroll bar (active if HeaderCtrl is in absolute
mode only) to autohide. Default is on.&]
[s3; &]
[s4;%- &]
[s5;:ArrayCtrl`:`:NoAutoHideHorzSb`(`):%- [_^ArrayCtrl^ ArrayCtrl][@(0.0.255) `&]_[* NoAuto
HideHorzSb]()&]
[s2; Same as AutoHideHorzSb(false).&]
[s3;%- &]
[s4;%- &]
[s5;:ArrayCtrl`:`:HideHorzSb`(bool`):%- [_^ArrayCtrl^ ArrayCtrl][@(0.0.255) `&]_[* HideHorz
Sb]([@(0.0.255) bool]_[*@3 b]_`=_[@(0.0.255) true])&]
[s2; Unconditionally hides horizontal scrollbar (active if HeaderCtrl
is in absolute mode only).&]
[s3; &]
[s4;%- &]
[s5;:ArrayCtrl`:`:MultiSelect`(bool`):%- [_^ArrayCtrl^ ArrayCtrl][@(0.0.255) `&]_[* MultiSe
lect]([@(0.0.255) bool]_[*@3 b]_`=_[@(0.0.255) true])&]
[s2; Enable / disable multiple row selection. &]
@ -1132,6 +1154,11 @@ time, [* false] `= only one row at a time&]
[s7; [*/ Return value]-|[* `*this]&]
[s3; &]
[s4;%- &]
[s5;:ArrayCtrl`:`:IsMultiSelect`(`)const:%- [@(0.0.255) bool]_[* IsMultiSelect]()_[@(0.0.255) c
onst]&]
[s2; Returns true if ArrayCtrl is in multiselect mode.&]
[s3;%- &]
[s4;%- &]
[s5;:ArrayCtrl`:`:NoBackground`(bool`):%- [_^ArrayCtrl^ ArrayCtrl][@(0.0.255) `&]_[* NoBack
ground]([@(0.0.255) bool]_[*@3 b]_`=_[@(0.0.255) true])&]
[s2; Sets the widget into transparent mode `- background is not painted