summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/tabledesign/TEditControl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/tabledesign/TEditControl.hxx')
-rw-r--r--dbaccess/source/ui/tabledesign/TEditControl.hxx30
1 files changed, 21 insertions, 9 deletions
diff --git a/dbaccess/source/ui/tabledesign/TEditControl.hxx b/dbaccess/source/ui/tabledesign/TEditControl.hxx
index 986ee80c20995..c7a925358416c 100644
--- a/dbaccess/source/ui/tabledesign/TEditControl.hxx
+++ b/dbaccess/source/ui/tabledesign/TEditControl.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: TEditControl.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: fs $ $Date: 2001-04-12 15:49:05 $
+ * last change: $Author: oj $ $Date: 2001-04-24 14:32:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -85,6 +85,14 @@ namespace dbaui
class OTableEditorCtrl : public OTableRowView
{
+ enum ChildFocusState
+ {
+ DESCRIPTION,
+ NAME,
+ ROW,
+ NONE
+ };
+
::std::vector<OTableRow*> m_aUndoList;
::std::vector<OTableRow*>* m_pRowList;
@@ -97,13 +105,14 @@ namespace dbaui
OTableRow* pActRow;
- ULONG nIndexEvent;
- ULONG nCutEvent;
- ULONG nPasteEvent;
- ULONG nDeleteEvent;
- ULONG nInsNewRowsEvent;
- ULONG nInvalidateTypeEvent;
- ULONG nEntryNotFoundEvent;
+ ULONG nIndexEvent;
+ ULONG nCutEvent;
+ ULONG nPasteEvent;
+ ULONG nDeleteEvent;
+ ULONG nInsNewRowsEvent;
+ ULONG nInvalidateTypeEvent;
+ ULONG nEntryNotFoundEvent;
+ ChildFocusState m_eChildFocus;
long nOldDataPos;
@@ -198,6 +207,9 @@ namespace dbaui
BOOL IsPasteAllowed( long nRow = -1 );
BOOL IsReadOnly();
+ // window overloads
+ virtual long PreNotify( NotifyEvent& rNEvt );
+
virtual void Cut();
virtual void Copy();
virtual void Paste();