aboutsummaryrefslogtreecommitdiffstats
path: root/apps/windoze/CBuilder5/BibleCS/searchfrm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/windoze/CBuilder5/BibleCS/searchfrm.cpp')
-rw-r--r--apps/windoze/CBuilder5/BibleCS/searchfrm.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/windoze/CBuilder5/BibleCS/searchfrm.cpp b/apps/windoze/CBuilder5/BibleCS/searchfrm.cpp
index da4b957..7082ed7 100644
--- a/apps/windoze/CBuilder5/BibleCS/searchfrm.cpp
+++ b/apps/windoze/CBuilder5/BibleCS/searchfrm.cpp
@@ -11,6 +11,7 @@
#include <unicodertf.h>
#include "rtfhintfrm.h"
#include <localemgr.h>
+#include "vrslstfrm.h"
//---------------------------------------------------------------------------
#pragma resource "*.dfm"
@@ -412,3 +413,18 @@ void __fastcall TsearchForm::Button2Click(TObject *Sender)
}
//---------------------------------------------------------------------------
+void __fastcall TsearchForm::Button3Click(TObject *Sender)
+{
+ if (resultsLV->Items->Count > 0) {
+ ListKey tmpVerseList;
+ for (int i = 0; i < resultsLV->Items->Count; i++) {
+ tmpVerseList << resultsLV->Items->Item[i]->Caption.c_str();
+ }
+ TVerseListForm *tmpForm = new TVerseListForm(this, tmpVerseList);
+ tmpForm->Caption = _tr("Search Verse List");
+ tmpForm->Show();
+ }
+
+}
+//---------------------------------------------------------------------------
+