diff options
author | Oliver Specht <os@openoffice.org> | 2002-09-11 08:12:06 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2002-09-11 08:12:06 +0000 |
commit | c4e5505fb3b3314cb6b050f62699e31788b84cb3 (patch) | |
tree | 96423eb0cdafed1f00df83c855132eff6a8ca7e9 /sw/source/ui/index/idxmrk.cxx | |
parent | a06a338f666c43a09153f9efe43e38927db42f4f (diff) |
#94664# taborder corrected
Diffstat (limited to 'sw/source/ui/index/idxmrk.cxx')
-rw-r--r-- | sw/source/ui/index/idxmrk.cxx | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/sw/source/ui/index/idxmrk.cxx b/sw/source/ui/index/idxmrk.cxx index 06450d1b96bd..fa0ea1c6103b 100644 --- a/sw/source/ui/index/idxmrk.cxx +++ b/sw/source/ui/index/idxmrk.cxx @@ -2,9 +2,9 @@ * * $RCSfile: idxmrk.cxx,v $ * - * $Revision: 1.23 $ + * $Revision: 1.24 $ * - * last change: $Author: os $ $Date: 2002-09-05 09:46:40 $ + * last change: $Author: os $ $Date: 2002-09-11 09:12:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1260,9 +1260,6 @@ SfxChildWinInfo SwInsertIdxMarkWrapper::GetInfo() const --------------------------------------------------*/ class SwCreateAuthEntryDlg_Impl : public ModalDialog { - OKButton aOKBT; - CancelButton aCancelBT; - HelpButton aHelpBT; FixedLine aEntriesFL; @@ -1271,6 +1268,10 @@ class SwCreateAuthEntryDlg_Impl : public ModalDialog ComboBox* pIdentifierBox; Edit* pEdits[AUTH_FIELD_END]; + OKButton aOKBT; + CancelButton aCancelBT; + HelpButton aHelpBT; + Link aShortNameCheckLink; SwWrtShell& rWrtSh; @@ -1817,11 +1818,18 @@ SwCreateAuthEntryDlg_Impl::SwCreateAuthEntryDlg_Impl(Window* pParent, sal_uInt16 nOffset = aTmpSz.Width() * 3 / 2; sal_Bool bLeft = sal_True; + Window* pRefWindow = 0; for(sal_uInt16 nIndex = 0; nIndex < AUTH_FIELD_END; nIndex++) { const TextInfo aCurInfo = aTextInfoArr[nIndex]; pFixedTexts[nIndex] = new FixedText(this); + if(nIndex) + pFixedTexts[nIndex]->SetZOrder( pRefWindow, WINDOW_ZORDER_BEHIND ); + else + pFixedTexts[nIndex]->SetZOrder( 0, WINDOW_ZORDER_FIRST ); + + pRefWindow = pFixedTexts[nIndex]; pFixedTexts[nIndex]->SetSizePixel(aFixedTextSize); pFixedTexts[nIndex]->SetPosPixel(bLeft ? aTL1 : aTL2); @@ -1831,6 +1839,8 @@ SwCreateAuthEntryDlg_Impl::SwCreateAuthEntryDlg_Impl(Window* pParent, if( AUTH_FIELD_AUTHORITY_TYPE == aCurInfo.nToxField ) { pTypeListBox = new ListBox(this, WB_DROPDOWN|WB_BORDER); + pTypeListBox->SetZOrder( pRefWindow, WINDOW_ZORDER_BEHIND ); + pRefWindow = pTypeListBox; for(sal_uInt16 j = 0; j < AUTH_TYPE_END; j++) pTypeListBox->InsertEntry(String(SW_RES(STR_AUTH_TYPE_START + j))); if(pFields[aCurInfo.nToxField].Len()) @@ -1850,6 +1860,9 @@ SwCreateAuthEntryDlg_Impl::SwCreateAuthEntryDlg_Impl(Window* pParent, else if(AUTH_FIELD_IDENTIFIER == aCurInfo.nToxField && !m_bNewEntryMode) { pIdentifierBox = new ComboBox(this, WB_BORDER|WB_DROPDOWN); + pIdentifierBox->SetZOrder( pRefWindow, WINDOW_ZORDER_BEHIND ); + pRefWindow = pIdentifierBox; + pIdentifierBox->SetSelectHdl(LINK(this, SwCreateAuthEntryDlg_Impl, IdentifierHdl)); @@ -1874,6 +1887,8 @@ SwCreateAuthEntryDlg_Impl::SwCreateAuthEntryDlg_Impl(Window* pParent, else { pEdits[nIndex] = new Edit(this, WB_BORDER); + pEdits[nIndex]->SetZOrder( pRefWindow, WINDOW_ZORDER_BEHIND ); + pRefWindow = pEdits[nIndex]; pEdits[nIndex]->SetSizePixel(aEditSize); pEdits[nIndex]->SetPosPixel(bLeft ? aTR1 : aTR2); pEdits[nIndex]->SetText(pFields[aCurInfo.nToxField]); |