summaryrefslogtreecommitdiff
path: root/wizards/source/tools/Listbox.xba
diff options
context:
space:
mode:
authorBehrend Cornelius <bc@openoffice.org>2001-06-13 11:26:01 +0000
committerBehrend Cornelius <bc@openoffice.org>2001-06-13 11:26:01 +0000
commitd6d4e0e5b55e92ef48376aff3dcff55e27396556 (patch)
treec7ffa318e5adcdf06aab930fe8517704fa564801 /wizards/source/tools/Listbox.xba
parentec7d8ed949f4f4002aed64f5a912574425ef4c77 (diff)
#88056# loading of Basic dialogs changed
Diffstat (limited to 'wizards/source/tools/Listbox.xba')
-rw-r--r--wizards/source/tools/Listbox.xba7
1 files changed, 5 insertions, 2 deletions
diff --git a/wizards/source/tools/Listbox.xba b/wizards/source/tools/Listbox.xba
index 58f96499e..0f69beab9 100644
--- a/wizards/source/tools/Listbox.xba
+++ b/wizards/source/tools/Listbox.xba
@@ -23,29 +23,31 @@ End Sub
Sub FormMoveSelected(aEvent as Object)
Call MoveSelectedListBox(oDialogModel.lstFields, oDialogModel.lstSelFields)
Call FormSetMoveRights()
+ oDialogModel.lstSelFields.Tag = True
End Sub
Sub FormMoveAll()
Call CopyListboxItems(oDialogModel.lstFields, oDialogModel.lstSelFields)
Call FormSetMoveRights()
-&apos; CmdNext.SetFocus
+ oDialogModel.lstSelFields.Tag = True
End Sub
Sub FormRemoveSelected()
Call MoveOrderedSelectedListbox(oDialogModel.lstFields, oDialogModel.lstSelFields, False)
Call FormSetMoveRights()
+ oDialogModel.lstSelFields.Tag = True
End Sub
Sub FormRemoveAll()
Call MoveOrderedSelectedListbox(oDialogModel.lstFields, oDialogModel.lstSelFields, True)
Call FormSetMoveRights()
+ oDialogModel.lstSelFields.Tag = 1
End Sub
-
Sub MoveSelectedListBox(SourceListbox as Object, TargetListbox as Object)
Dim MaxCurTarget as Integer
Dim MaxSourceSelected as Integer
@@ -220,6 +222,7 @@ Dim SelectCount as Integer
oDialogModel.cmdMoveAll.Enabled = FieldCount &gt;=1
oDialogModel.cmdMoveSelected.Enabled = bIsFieldSelected
oDialogModel.cmdGoOn.Enabled = SelectCount&gt;=1
+ &apos; This flag is set to &apos;1&apos; when the lstSelFields has been modified
End Sub