in-place editing code from Michael Bedward integrated (with my docs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -15,7 +15,9 @@ wxGrid is a class for displaying and editing tabular information.
|
||||
|
||||
\wxheading{Window styles}
|
||||
|
||||
There are no specific window styles for this class.
|
||||
There are no specific window styles for this class, but you may use different
|
||||
SetXXX() functions to change the controls behaviour (for example, to enable
|
||||
in-place editing).
|
||||
|
||||
See also \helpref{window styles overview}{windowstyles}.
|
||||
|
||||
@@ -257,6 +259,12 @@ Returns the row position of the currently selected cell.
|
||||
|
||||
Returns TRUE if the grid cells can be edited.
|
||||
|
||||
\membersection{wxGrid::GetEditInPlace}\label{wxgridgeteditinplace}
|
||||
|
||||
\constfunc{bool}{GetEditInPlace}{\void}
|
||||
|
||||
Returns TRUE if editing in-place is enabled.
|
||||
|
||||
\membersection{wxGrid::GetHorizScrollBar}\label{wxgridgethorizscrollbar}
|
||||
|
||||
\constfunc{wxScrollBar *}{GetHorizScrollBar}{\void}
|
||||
@@ -528,6 +536,14 @@ If {\it editable} is TRUE (the default), the grid cells will be editable by mean
|
||||
text edit control. If FALSE, the text edit control will be hidden and the user will not
|
||||
be able to edit the cell contents.
|
||||
|
||||
\membersection{wxGrid::SetEditInPlace}\label{wxgridseteditinplace}
|
||||
|
||||
\func{void}{SetEditInPlace}{\param{bool}{ edit = TRUE}}
|
||||
|
||||
Enables (if {\it edit} is TRUE, default value) or disables in-place editing.
|
||||
When it is enabled, the cells contents can be changed by typing text directly
|
||||
in the cell.
|
||||
|
||||
\membersection{wxGrid::SetGridCursor}\label{wxgridsetgridcursor}
|
||||
|
||||
\func{void}{SetGridCursor}{\param{int }{row}, \param{int}{ col}}
|
||||
|
Reference in New Issue
Block a user