From a936ceb5f01a54b7282f7bc3a2f2e6d10aadf6fb Mon Sep 17 00:00:00 2001 From: Thomas Benisch Date: Fri, 28 Sep 2001 13:56:15 +0000 Subject: [PATCH] #92258# click handler for Basic Scrollbar --- extensions/source/propctrlr/formhelpid.hrc | 8 ++- extensions/source/propctrlr/formmetadata.cxx | 72 +++++++++++--------- extensions/source/propctrlr/formres.src | 12 +++- extensions/source/propctrlr/formresid.hrc | 8 ++- 4 files changed, 60 insertions(+), 40 deletions(-) diff --git a/extensions/source/propctrlr/formhelpid.hrc b/extensions/source/propctrlr/formhelpid.hrc index d835b512c8b7..2a4885ec073c 100644 --- a/extensions/source/propctrlr/formhelpid.hrc +++ b/extensions/source/propctrlr/formhelpid.hrc @@ -2,9 +2,9 @@ * * $RCSfile: formhelpid.hrc,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: fs $ $Date: 2001-06-06 10:38:25 $ + * last change: $Author: tbe $ $Date: 2001-09-28 14:54:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -219,6 +219,7 @@ #define HID_EVT_ROWCHANGE (HID_EVT_START + 47) #define HID_EVT_RELOADING (HID_EVT_START + 48) #define HID_EVT_UNLOADING (HID_EVT_START + 49) +#define HID_EVT_ADJUSTMENTVALUECHANGED (HID_EVT_START + 50) #define UID_EVT_MACRODLG (HID_EVT_START + 99) @@ -246,6 +247,9 @@ /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.5 2001/06/06 10:38:25 fs + * #86837# +HID_PROP_IMAGE_ALIGN + * * Revision 1.4 2001/04/26 09:15:35 tbe * added progressbar properties * diff --git a/extensions/source/propctrlr/formmetadata.cxx b/extensions/source/propctrlr/formmetadata.cxx index 3f9aeee551c4..1867ca954d6d 100644 --- a/extensions/source/propctrlr/formmetadata.cxx +++ b/extensions/source/propctrlr/formmetadata.cxx @@ -2,9 +2,9 @@ * * $RCSfile: formmetadata.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: fs $ $Date: 2001-06-06 10:37:54 $ + * last change: $Author: tbe $ $Date: 2001-09-28 14:54:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -434,38 +434,39 @@ namespace pcr { static EventDisplayDescription __READONLY_DATA aEventDisplayDescriptions[] = { - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("approveAction"), String(ModuleRes(RID_STR_EVT_APPROVEACTIONPERFORMED)),HID_EVT_APPROVEACTIONPERFORMED), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("actionPerformed"), String(ModuleRes(RID_STR_EVT_ACTIONPERFORMED)), HID_EVT_ACTIONPERFORMED), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("changed"), String(ModuleRes(RID_STR_EVT_CHANGED)), HID_EVT_CHANGED), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("textChanged"), String(ModuleRes(RID_STR_EVT_TEXTCHANGED)), HID_EVT_TEXTCHANGED), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("itemStateChanged"), String(ModuleRes(RID_STR_EVT_ITEMSTATECHANGED)), HID_EVT_ITEMSTATECHANGED), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("focusGained"), String(ModuleRes(RID_STR_EVT_FOCUSGAINED)), HID_EVT_FOCUSGAINED), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("focusLost"), String(ModuleRes(RID_STR_EVT_FOCUSLOST)), HID_EVT_FOCUSLOST), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("keyPressed"), String(ModuleRes(RID_STR_EVT_KEYTYPED)), HID_EVT_KEYTYPED), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("keyReleased"), String(ModuleRes(RID_STR_EVT_KEYUP)), HID_EVT_KEYUP), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("mouseEntered"), String(ModuleRes(RID_STR_EVT_MOUSEENTERED)), HID_EVT_MOUSEENTERED), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("mouseDragged"), String(ModuleRes(RID_STR_EVT_MOUSEDRAGGED)), HID_EVT_MOUSEDRAGGED), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("mouseMoved"), String(ModuleRes(RID_STR_EVT_MOUSEMOVED)), HID_EVT_MOUSEMOVED), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("mousePressed"), String(ModuleRes(RID_STR_EVT_MOUSEPRESSED)), HID_EVT_MOUSEPRESSED), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("mouseReleased"), String(ModuleRes(RID_STR_EVT_MOUSERELEASED)), HID_EVT_MOUSERELEASED), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("mouseExited"), String(ModuleRes(RID_STR_EVT_MOUSEEXITED)), HID_EVT_MOUSEEXITED), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("approveReset"), String(ModuleRes(RID_STR_EVT_APPROVERESETTED)), HID_EVT_APPROVERESETTED), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("resetted"), String(ModuleRes(RID_STR_EVT_RESETTED)), HID_EVT_RESETTED), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("approveSubmit"), String(ModuleRes(RID_STR_EVT_SUBMITTED)), HID_EVT_SUBMITTED), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("approveUpdate"), String(ModuleRes(RID_STR_EVT_BEFOREUPDATE)), HID_EVT_BEFOREUPDATE), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("updated"), String(ModuleRes(RID_STR_EVT_AFTERUPDATE)), HID_EVT_AFTERUPDATE), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("loaded"), String(ModuleRes(RID_STR_EVT_LOADED)), HID_EVT_LOADED), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("reloading"), String(ModuleRes(RID_STR_EVT_RELOADING)), HID_EVT_RELOADING), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("reloaded"), String(ModuleRes(RID_STR_EVT_RELOADED)), HID_EVT_RELOADED), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("unloading"), String(ModuleRes(RID_STR_EVT_UNLOADING)), HID_EVT_UNLOADING), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("unloaded"), String(ModuleRes(RID_STR_EVT_UNLOADED)), HID_EVT_UNLOADED), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("confirmDelete"), String(ModuleRes(RID_STR_EVT_CONFIRMDELETE)), HID_EVT_CONFIRMDELETE), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("approveRowChange"), String(ModuleRes(RID_STR_EVT_APPROVEROWCHANGE)), HID_EVT_APPROVEROWCHANGE), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("rowChanged"), String(ModuleRes(RID_STR_EVT_ROWCHANGE)), HID_EVT_ROWCHANGE), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("approveCursorMove"), String(ModuleRes(RID_STR_EVT_POSITIONING)), HID_EVT_POSITIONING), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("cursorMoved"), String(ModuleRes(RID_STR_EVT_POSITIONED)), HID_EVT_POSITIONED), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("approveParameter"), String(ModuleRes(RID_STR_EVT_APPROVEPARAMETER)), HID_EVT_APPROVEPARAMETER), - EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("errorOccured"), String(ModuleRes(RID_STR_EVT_ERROROCCURED)), HID_EVT_ERROROCCURED) + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("approveAction"), String(ModuleRes(RID_STR_EVT_APPROVEACTIONPERFORMED)), HID_EVT_APPROVEACTIONPERFORMED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("actionPerformed"), String(ModuleRes(RID_STR_EVT_ACTIONPERFORMED)), HID_EVT_ACTIONPERFORMED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("changed"), String(ModuleRes(RID_STR_EVT_CHANGED)), HID_EVT_CHANGED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("textChanged"), String(ModuleRes(RID_STR_EVT_TEXTCHANGED)), HID_EVT_TEXTCHANGED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("itemStateChanged"), String(ModuleRes(RID_STR_EVT_ITEMSTATECHANGED)), HID_EVT_ITEMSTATECHANGED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("focusGained"), String(ModuleRes(RID_STR_EVT_FOCUSGAINED)), HID_EVT_FOCUSGAINED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("focusLost"), String(ModuleRes(RID_STR_EVT_FOCUSLOST)), HID_EVT_FOCUSLOST), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("keyPressed"), String(ModuleRes(RID_STR_EVT_KEYTYPED)), HID_EVT_KEYTYPED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("keyReleased"), String(ModuleRes(RID_STR_EVT_KEYUP)), HID_EVT_KEYUP), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("mouseEntered"), String(ModuleRes(RID_STR_EVT_MOUSEENTERED)), HID_EVT_MOUSEENTERED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("mouseDragged"), String(ModuleRes(RID_STR_EVT_MOUSEDRAGGED)), HID_EVT_MOUSEDRAGGED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("mouseMoved"), String(ModuleRes(RID_STR_EVT_MOUSEMOVED)), HID_EVT_MOUSEMOVED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("mousePressed"), String(ModuleRes(RID_STR_EVT_MOUSEPRESSED)), HID_EVT_MOUSEPRESSED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("mouseReleased"), String(ModuleRes(RID_STR_EVT_MOUSERELEASED)), HID_EVT_MOUSERELEASED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("mouseExited"), String(ModuleRes(RID_STR_EVT_MOUSEEXITED)), HID_EVT_MOUSEEXITED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("approveReset"), String(ModuleRes(RID_STR_EVT_APPROVERESETTED)), HID_EVT_APPROVERESETTED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("resetted"), String(ModuleRes(RID_STR_EVT_RESETTED)), HID_EVT_RESETTED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("approveSubmit"), String(ModuleRes(RID_STR_EVT_SUBMITTED)), HID_EVT_SUBMITTED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("approveUpdate"), String(ModuleRes(RID_STR_EVT_BEFOREUPDATE)), HID_EVT_BEFOREUPDATE), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("updated"), String(ModuleRes(RID_STR_EVT_AFTERUPDATE)), HID_EVT_AFTERUPDATE), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("loaded"), String(ModuleRes(RID_STR_EVT_LOADED)), HID_EVT_LOADED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("reloading"), String(ModuleRes(RID_STR_EVT_RELOADING)), HID_EVT_RELOADING), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("reloaded"), String(ModuleRes(RID_STR_EVT_RELOADED)), HID_EVT_RELOADED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("unloading"), String(ModuleRes(RID_STR_EVT_UNLOADING)), HID_EVT_UNLOADING), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("unloaded"), String(ModuleRes(RID_STR_EVT_UNLOADED)), HID_EVT_UNLOADED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("confirmDelete"), String(ModuleRes(RID_STR_EVT_CONFIRMDELETE)), HID_EVT_CONFIRMDELETE), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("approveRowChange"), String(ModuleRes(RID_STR_EVT_APPROVEROWCHANGE)), HID_EVT_APPROVEROWCHANGE), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("rowChanged"), String(ModuleRes(RID_STR_EVT_ROWCHANGE)), HID_EVT_ROWCHANGE), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("approveCursorMove"), String(ModuleRes(RID_STR_EVT_POSITIONING)), HID_EVT_POSITIONING), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("cursorMoved"), String(ModuleRes(RID_STR_EVT_POSITIONED)), HID_EVT_POSITIONED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("approveParameter"), String(ModuleRes(RID_STR_EVT_APPROVEPARAMETER)), HID_EVT_APPROVEPARAMETER), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("errorOccured"), String(ModuleRes(RID_STR_EVT_ERROROCCURED)), HID_EVT_ERROROCCURED), + EventDisplayDescription(nCount++,::rtl::OUString::createFromAscii("adjustmentValueChanged"), String(ModuleRes(RID_STR_EVT_ADJUSTMENTVALUECHANGED)), HID_EVT_ADJUSTMENTVALUECHANGED) }; s_pEventTranslation = const_cast(aEventDisplayDescriptions); nCount = sizeof(aEventDisplayDescriptions) / sizeof(EventDisplayDescription); @@ -493,6 +494,9 @@ namespace pcr /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.12 2001/06/06 10:37:54 fs + * #86837# +PROPERTY_IMAGEALIGN + * * Revision 1.11 2001/06/06 08:51:37 fs * changes in the ConstAsciiString for better runtime performance * diff --git a/extensions/source/propctrlr/formres.src b/extensions/source/propctrlr/formres.src index b65734f46b65..834f60446179 100644 --- a/extensions/source/propctrlr/formres.src +++ b/extensions/source/propctrlr/formres.src @@ -2,9 +2,9 @@ * * $RCSfile: formres.src,v $ * - * $Revision: 1.26 $ + * $Revision: 1.27 $ * - * last change: $Author: kz $ $Date: 2001-07-17 20:31:27 $ + * last change: $Author: tbe $ $Date: 2001-09-28 14:54:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -4656,9 +4656,17 @@ String RID_STR_ENUM_ORIENTATION Text[ catalan ] = "Horizontal;Vertical"; Text[ finnish ] = "Horizontal;Vertikal"; }; +String RID_STR_EVT_ADJUSTMENTVALUECHANGED +{ + Text = "Beim Justieren" ; + Text [ ENGLISH ] = "On adjust" ; +}; /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.26 2001/07/17 20:31:27 kz + * Merge SRC638: 17.07.01 - 22:30:59 + * * Revision 1.25 2001/07/13 20:58:16 kz * Merge SRC638: 13.07.01 - 22:56:55 * diff --git a/extensions/source/propctrlr/formresid.hrc b/extensions/source/propctrlr/formresid.hrc index 5b92e76d7f9b..4f76809bcd33 100644 --- a/extensions/source/propctrlr/formresid.hrc +++ b/extensions/source/propctrlr/formresid.hrc @@ -2,9 +2,9 @@ * * $RCSfile: formresid.hrc,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: fs $ $Date: 2001-06-06 10:36:52 $ + * last change: $Author: tbe $ $Date: 2001-09-28 14:54:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -241,6 +241,7 @@ #define RID_STR_ORIENTATION ( RID_FORMBROWSER_START + 179 ) #define RID_STR_ENUM_ORIENTATION ( RID_FORMBROWSER_START + 180 ) #define RID_STR_ENUM_SIDE_ALIGN ( RID_FORMBROWSER_START + 181 ) +#define RID_STR_EVT_ADJUSTMENTVALUECHANGED ( RID_FORMBROWSER_START + 182 ) // ----------------------------------------------------------------------- // - dialogs @@ -284,6 +285,9 @@ /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.10 2001/06/06 10:36:52 fs + * #86837# +RID_STR_ENUM_SIDE_ALIGN + * * Revision 1.9 2001/05/02 12:42:58 tbe * added scrollbar properties *