]> git.saurik.com Git - wxWidgets.git/commitdiff
dbbrowse.rc dbgrid.cpp dbtree.cpp dbtree.h help.de/icons.htm
authorMark Johnson <mj10777@web.de>
Thu, 10 Feb 2000 15:36:10 +0000 (15:36 +0000)
committerMark Johnson <mj10777@web.de>
Thu, 10 Feb 2000 15:36:10 +0000 (15:36 +0000)
  help.de/problems.htm help.std/icons.htm help.std/problems.htm
  bitmaps/view.ico bitmaps/view.xpm help.png/view.png

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

demos/dbbrowse/bitmaps/view.ico [new file with mode: 0644]
demos/dbbrowse/bitmaps/view.xpm [new file with mode: 0644]
demos/dbbrowse/dbbrowse.rc
demos/dbbrowse/dbgrid.cpp
demos/dbbrowse/dbtree.cpp
demos/dbbrowse/dbtree.h
demos/dbbrowse/help.de/icons.htm
demos/dbbrowse/help.de/problems.htm
demos/dbbrowse/help.png/view.png [new file with mode: 0644]
demos/dbbrowse/help.std/icons.htm
demos/dbbrowse/help.std/problems.htm

diff --git a/demos/dbbrowse/bitmaps/view.ico b/demos/dbbrowse/bitmaps/view.ico
new file mode 100644 (file)
index 0000000..bcbcc5a
Binary files /dev/null and b/demos/dbbrowse/bitmaps/view.ico differ
diff --git a/demos/dbbrowse/bitmaps/view.xpm b/demos/dbbrowse/bitmaps/view.xpm
new file mode 100644 (file)
index 0000000..74189b7
--- /dev/null
@@ -0,0 +1,24 @@
+/* XPM */\r
+static char* VIEW_xpm[] = {
+"16 16 5 1",\r
+"  c #000000",\r
+"! c #000080",\r
+"# c #C0C0C0",\r
+"$ c #808080",\r
+"% c #FFFFFF",\r
+"$$$$$$$$$$$$$$$$",\r
+"$$$$$$$$$$$$$$$$",\r
+"$#############$ ",\r
+"$#$$$$$$$$$$$$$ ",\r
+"$$$$$$$$$$$$$$$ ",\r
+"$$############# ",\r
+"$$#$$$$$$$$$$$$ ",\r
+"$$#$$$$$$$$$$$$ ",\r
+"$$#$$$$$$$$$$$$ ",\r
+"$$#%%%%%%%%%%%$ ",\r
+"$$#%!!!%!!!%!%$ ",\r
+"$$#%%%%%%%%%%%$ ",\r
+"$$#%!!!%!!!%!%$ ",\r
+"$$#%%%%%%%%%%%$ ",\r
+" $#%!!!%!!!%!%  ",\r
+"%$$$$$$$$$$$$$$$"};
index a1f52e29efd7d6fec3010e9584c328b97b5bd01d..ec17794d1448495f554b1436d93036e3b5b1a0dc 100644 (file)
@@ -5,6 +5,7 @@ DSNOpen                 ICON    "bitmaps\\dsnopen.ico"
 KEY                     ICON    "bitmaps\\key.ico"
 KEYF                    ICON    "bitmaps\\keyf.ico"
 TAB                     ICON    "bitmaps\\tab.ico"
 KEY                     ICON    "bitmaps\\key.ico"
 KEYF                    ICON    "bitmaps\\keyf.ico"
 TAB                     ICON    "bitmaps\\tab.ico"
+VIEW                    ICON    "bitmaps\\view.ico"
 DocClosed               ICON    "bitmaps\\d_closed.ico"
 DocOpen                 ICON    "bitmaps\\d_open.ico"
 FolderClosed            ICON    "bitmaps\\f_closed.ico"
 DocClosed               ICON    "bitmaps\\d_closed.ico"
 DocOpen                 ICON    "bitmaps\\d_open.ico"
 FolderClosed            ICON    "bitmaps\\f_closed.ico"
index 0d92e602994ec7054b33a55ad27a89552b1c9e44..1cf859b41771d4496d50b7a8ffb95283019b0fb7 100644 (file)
@@ -76,65 +76,65 @@ DBGrid::~DBGrid()
 //---------------------------------------------------------------------------
 int  DBGrid::OnTableView(wxString Table)
 {
 //---------------------------------------------------------------------------
 int  DBGrid::OnTableView(wxString Table)
 {
 //---------------------------------------------------------------------------
 int  i=0,x,y,z, ValidTable=0;
 wxString Temp0;
 //SetLabelFont(* f_Temp);
-
-  wxBeginBusyCursor();
-  //---------------------------------------------------------------------------
-  ct_BrowserDB = (db_Br+i_Which)->ct_BrowserDB;                       // Get the DSN Pointer
-  //----------------------------------------------------------------------------
-  if (ct_BrowserDB)                                                   // Valid pointer (!= NULL) ?
-    {      // Pointer is Valid, use the wxDatabase Information
-      for (x=0;x<ct_BrowserDB->numTables;x++)                            // go through the Tables
-       {
-         if (!wxStrcmp((ct_BrowserDB->pTableInf+x)->tableName,Table))      // is this our Table ?
-           {    // Yes, the Data of this Table shall be put into the Grid
-             ValidTable = x;                                                  // Save the Tablenumber
-             (db_Br+i_Which)->OnSelect(Table,FALSE);                          // Select * from "table"
-             // Set the local Pointer to the Column Information we are going to use
-             (db_Br+i_Which)->cl_BrowserDB = (ct_BrowserDB->pTableInf+x)->pColInf;
-             if ((ct_BrowserDB->pTableInf+x)->pColInf)                        // Valid pointer (!= NULL) ?
-               {   // Pointer is Valid, Column Informationen sind Vorhanden
-                 i = (db_Br+i_Which)->i_Records;                                 // How many Records are there
-                 (db_Br+i_Which)->i_Which = ValidTable;                          // Still used ???? mj10777
-                 if (i == 0)     // If the Table is empty, then show one empty row
-                   i++;
-                 CreateGrid(i,(ct_BrowserDB->pTableInf+x)->numCols);             // Records , Columns
-                 for (y=0;y<(ct_BrowserDB->pTableInf+x)->numCols;y++)            // Loop through the Fields
-                   {  // The Field / Column name is used here as Row Titel
-                     SetColLabelValue(y,((ct_BrowserDB->pTableInf+x)->pColInf+y)->colName);
-                     SetColSize(y,95);
-                   }  // for (y=0;y<(ct_BrowserDB->pTableInf+x)->numCols;y++)
-                 SetColSize(((ct_BrowserDB->pTableInf+x)->numCols-1),120);       // Make the last Column Wider
-                 // The Grid has been created, now fill it
-                 for (z=0;z<(db_Br+i_Which)->i_Records;z++)                      // Loop through the Records
-                   {
-                     Temp0.Printf("%06d",z+1);  SetRowLabelValue(z,Temp0);          // Set Row Lable Value
-                     (db_Br+i_Which)->OnGetNext((ct_BrowserDB->pTableInf+ValidTable)->numCols,FALSE);
-                     for (y=0;y<(ct_BrowserDB->pTableInf+ValidTable)->numCols;y++) // Loop through the Fields
-                       { // BrowserDB::OnGetNext Formats the field Value into tablename
-                         SetCellValue(z, y,((db_Br+i_Which)->cl_BrowserDB+y)->tableName);
-                       }
-                     if (z % 50 == 0)
-                       {
-                         Temp0.Printf(_("-I-> DBGrid::OnTableView(%s) - Record %6d has been read."),Table.c_str(),z);
-                         pDoc->p_MainFrame->SetStatusText(Temp0, 0);
-                       }
-                   }  // for (z=0;z<(db_Br+i_Which)->i_Records;z++)
-                 Temp0.Printf(_("-I-> DBGrid::OnTableView(%s) - %6d Records have been read."),Table.c_str(),z);
-                 pDoc->p_MainFrame->SetStatusText(Temp0, 0);
-                 // The Grid has been filled, now leave
-                 goto Weiter;
-               }   // if ((ct_BrowserDB->pTableInf+x)->pColInf)
-             else
-               wxLogMessage(_("\n-E-> DBGrid::OnTableView():: Invalid Column Pointer : Failed"));
-           }    // if ((ct_BrowserDB->pTableInf+x)->tableType == "TABLE")
-       }     // for (x=0;x<ct_BrowserDB->numTables;x++)
   }      // if (ct_BrowserDB)
 else
-    wxLogMessage(_("\n-E-> DBGrid::OnTableView():: Invalid DSN Pointer : Failed"));
+ //---------------------------------------------------------------------------
+ int  i=0,x,y,z, ValidTable=0;
+ wxString Temp0;
+ //SetLabelFont(* f_Temp);
+ wxBeginBusyCursor();
+ //---------------------------------------------------------------------------
+ ct_BrowserDB = (db_Br+i_Which)->ct_BrowserDB;                       // Get the DSN Pointer
+ //----------------------------------------------------------------------------
+ if (ct_BrowserDB)                                                   // Valid pointer (!= NULL) ?
+ {      // Pointer is Valid, use the wxDatabase Information
+  for (x=0;x<ct_BrowserDB->numTables;x++)                            // go through the Tables
+  {
+   if (!wxStrcmp((ct_BrowserDB->pTableInf+x)->tableName,Table))      // is this our Table ?
+   {    // Yes, the Data of this Table shall be put into the Grid
+    ValidTable = x;                                                  // Save the Tablenumber
+    (db_Br+i_Which)->OnSelect(Table,FALSE);                          // Select * from "table"
+     // Set the local Pointer to the Column Information we are going to use
+    (db_Br+i_Which)->cl_BrowserDB = (ct_BrowserDB->pTableInf+x)->pColInf;
+    if ((ct_BrowserDB->pTableInf+x)->pColInf)                        // Valid pointer (!= NULL) ?
+    {   // Pointer is Valid, Column Informationen sind Vorhanden
+     i = (db_Br+i_Which)->i_Records;                                 // How many Records are there
+     (db_Br+i_Which)->i_Which = ValidTable;                          // Still used ???? mj10777
+     if (i == 0)     // If the Table is empty, then show one empty row
+      i++;
+     wxLogMessage(_("\n-I-> DBGrid::OnTableView():: Vor CreateGrid"));
+     CreateGrid(i,(ct_BrowserDB->pTableInf+x)->numCols);             // Records , Columns
+     for (y=0;y<(ct_BrowserDB->pTableInf+x)->numCols;y++)            // Loop through the Fields
+     {  // The Field / Column name is used here as Row Titel
+      SetColLabelValue(y,((ct_BrowserDB->pTableInf+x)->pColInf+y)->colName);
+      SetColSize(y,95);
+     }  // for (y=0;y<(ct_BrowserDB->pTableInf+x)->numCols;y++)
+     SetColSize(((ct_BrowserDB->pTableInf+x)->numCols-1),120);       // Make the last Column Wider
+     // The Grid has been created, now fill it
+     for (z=0;z<(db_Br+i_Which)->i_Records;z++)                      // Loop through the Records
+     {
+      Temp0.Printf("%06d",z+1);  SetRowLabelValue(z,Temp0);          // Set Row Lable Value
+      (db_Br+i_Which)->OnGetNext((ct_BrowserDB->pTableInf+ValidTable)->numCols,FALSE);
+      for (y=0;y<(ct_BrowserDB->pTableInf+ValidTable)->numCols;y++) // Loop through the Fields
+      { // BrowserDB::OnGetNext Formats the field Value into tablename
+       SetCellValue(z, y,((db_Br+i_Which)->cl_BrowserDB+y)->tableName);
+      }
+      if (z % 50 == 0)
+      {
+       Temp0.Printf(_("-I-> DBGrid::OnTableView(%s) - Record %6d has been read."),Table.c_str(),z);
+       pDoc->p_MainFrame->SetStatusText(Temp0, 0);
+      }
+     }  // for (z=0;z<(db_Br+i_Which)->i_Records;z++)
+     Temp0.Printf(_("-I-> DBGrid::OnTableView(%s) - %6d Records have been read."),Table.c_str(),z);
+     pDoc->p_MainFrame->SetStatusText(Temp0, 0);
+     // The Grid has been filled, now leave
+     goto Weiter;
+    }   // if ((ct_BrowserDB->pTableInf+x)->pColInf)
+    else
+     wxLogMessage(_("\n-E-> DBGrid::OnTableView():: Invalid Column Pointer : Failed"));
+   }    // if ((ct_BrowserDB->pTableInf+x)->tableType == "TABLE")
+  }     // for (x=0;x<ct_BrowserDB->numTables;x++)
+ }      // if (ct_BrowserDB)
+ else
+  wxLogMessage(_("\n-E-> DBGrid::OnTableView():: Invalid DSN Pointer : Failed"));
   //---------------------------------------------------------------------------
  Weiter:
   SetEditInPlace(b_EditModus);   // Activate in-place Editing (FALSE)
   //---------------------------------------------------------------------------
  Weiter:
   SetEditInPlace(b_EditModus);   // Activate in-place Editing (FALSE)
@@ -266,7 +266,7 @@ void DBGrid::OnCellLeftClick( wxGridEvent& ev )
 {
   logBuf = "DBGrid::OnCellLeftClick : ";
   logBuf << "Cell at row " << ev.GetRow()
 {
   logBuf = "DBGrid::OnCellLeftClick : ";
   logBuf << "Cell at row " << ev.GetRow()
-        << " col " << ev.GetCol();
+  << " col " << ev.GetCol();
   // wxLogMessage( "%s", logBuf.c_str() );
   // wxMessageBox(logBuf);
   logBuf += "\n";
   // wxLogMessage( "%s", logBuf.c_str() );
   // wxMessageBox(logBuf);
   logBuf += "\n";
@@ -281,7 +281,7 @@ void DBGrid::OnCellRightClick( wxGridEvent& ev )
 {
   logBuf = "DBGrid::OnCellRightClick : ";
   logBuf << "Cell at row " << ev.GetRow()
 {
   logBuf = "DBGrid::OnCellRightClick : ";
   logBuf << "Cell at row " << ev.GetRow()
-        << " col " << ev.GetCol();
+  << " col " << ev.GetCol();
   // wxLogMessage( "%s", logBuf.c_str() );
   // wxMessageBox(logBuf);
   logBuf += "\n";
   // wxLogMessage( "%s", logBuf.c_str() );
   // wxMessageBox(logBuf);
   logBuf += "\n";
@@ -296,7 +296,7 @@ void DBGrid::OnCellLeftDClick( wxGridEvent& ev )
 {
   logBuf = "DBGrid::OnCellLeftDClick : ";
   logBuf << "Cell at row " << ev.GetRow()
 {
   logBuf = "DBGrid::OnCellLeftDClick : ";
   logBuf << "Cell at row " << ev.GetRow()
-        << " col " << ev.GetCol();
+  << " col " << ev.GetCol();
   // wxLogMessage( "%s", logBuf.c_str() );
   // wxMessageBox(logBuf);
   logBuf += "\n";
   // wxLogMessage( "%s", logBuf.c_str() );
   // wxMessageBox(logBuf);
   logBuf += "\n";
@@ -311,7 +311,7 @@ void DBGrid::OnCellRightDClick( wxGridEvent& ev )
 {
   logBuf = "DBGrid::OnCellRightDClick : ";
   logBuf << "Cell at row " << ev.GetRow()
 {
   logBuf = "DBGrid::OnCellRightDClick : ";
   logBuf << "Cell at row " << ev.GetRow()
-        << " col " << ev.GetCol();
+  << " col " << ev.GetCol();
   // wxLogMessage( "%s", logBuf.c_str() );
   // wxMessageBox(logBuf);
   logBuf += "\n";
   // wxLogMessage( "%s", logBuf.c_str() );
   // wxMessageBox(logBuf);
   logBuf += "\n";
@@ -326,7 +326,7 @@ void DBGrid::OnCellChange( wxGridEvent& ev )
 {
   logBuf = "DBGrid::OnCellChange : ";
   logBuf << "Cell at row " << ev.GetRow()
 {
   logBuf = "DBGrid::OnCellChange : ";
   logBuf << "Cell at row " << ev.GetRow()
-        << " col " << ev.GetCol();
+  << " col " << ev.GetCol();
   // wxLogMessage( "%s", logBuf.c_str() );
   // wxMessageBox(logBuf);
   logBuf += "\n";
   // wxLogMessage( "%s", logBuf.c_str() );
   // wxMessageBox(logBuf);
   logBuf += "\n";
@@ -354,7 +354,7 @@ void DBGrid::OnColSize( wxGridSizeEvent& ev )
   // wxLogMessage( "%s", logBuf.c_str() );
   logBuf += "\n";
   wxLogMessage(logBuf.c_str());
   // wxLogMessage( "%s", logBuf.c_str() );
   logBuf += "\n";
   wxLogMessage(logBuf.c_str());
-  
+
   ev.Skip();
 }
 //---------------------------------------------------------------------------
   ev.Skip();
 }
 //---------------------------------------------------------------------------
@@ -362,15 +362,14 @@ void DBGrid::OnRangeSelected( wxGridRangeSelectEvent& ev )
 {
   logBuf = "DBGrid::OnRangeSelected : ";
   logBuf  << "Selected cells from row " << ev.GetTopRow()
 {
   logBuf = "DBGrid::OnRangeSelected : ";
   logBuf  << "Selected cells from row " << ev.GetTopRow()
-         << " col " << ev.GetLeftCol()
-         << " to row " << ev.GetBottomRow()
-         << " col " << ev.GetRightCol();
-  
+   << " col " << ev.GetLeftCol()
+   << " to row " << ev.GetBottomRow()
+   << " col " << ev.GetRightCol();
+
   logBuf += "\n";
   // wxLogMessage( "%s", logBuf.c_str() );
   wxLogMessage(logBuf.c_str());
   logBuf += "\n";
   // wxLogMessage( "%s", logBuf.c_str() );
   wxLogMessage(logBuf.c_str());
-  
+
   ev.Skip();
 }
 //---------------------------------------------------------------------------
   ev.Skip();
 }
 //---------------------------------------------------------------------------
-
index 29a9b3a069e1342ed759a72a506ab967a509bdea..36837485f5e638551a30b0a5751686af398d39a6 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      Mark Johnson
 // Modified by:
 // Created:     19991129
 // Author:      Mark Johnson
 // Modified by:
 // Created:     19991129
-/// RCS-ID:      $Id$
+// RCS-ID:      $Id$
 // Copyright:   (c) Mark Johnson, Berlin Germany, mj10777@gmx.net
 // Licence:     wxWindows license
 //---------------------------------------------------------------------------
 // Copyright:   (c) Mark Johnson, Berlin Germany, mj10777@gmx.net
 // Licence:     wxWindows license
 //---------------------------------------------------------------------------
@@ -63,10 +63,10 @@ DBTree::DBTree(wxWindow *parent, const wxWindowID id,const wxPoint& pos, const w
   //wxFont* ft_Temp = new wxFont(10,wxSWISS,wxNORMAL,wxBOLD,FALSE,"Comic Sans MS");
   wxFont* ft_Temp = new wxFont(wxSystemSettings::GetSystemFont(wxSYS_SYSTEM_FONT));
   SetFont(* ft_Temp);
   //wxFont* ft_Temp = new wxFont(10,wxSWISS,wxNORMAL,wxBOLD,FALSE,"Comic Sans MS");
   wxFont* ft_Temp = new wxFont(wxSystemSettings::GetSystemFont(wxSYS_SYSTEM_FONT));
   SetFont(* ft_Temp);
-  
+
   // Make an image list containing small icons
   p_imageListNormal = new wxImageList(16, 16, TRUE);
   // Make an image list containing small icons
   p_imageListNormal = new wxImageList(16, 16, TRUE);
-  
+
   // should correspond to TreeIc_xxx enum
 
 #if !defined(__WXMSW__)
   // should correspond to TreeIc_xxx enum
 
 #if !defined(__WXMSW__)
@@ -77,7 +77,7 @@ DBTree::DBTree(wxWindow *parent, const wxWindowID id,const wxPoint& pos, const w
 #include "bitmaps/key.xpm"
 #include "bitmaps/keyf.xpm"
 #include "bitmaps/d_open.xpm"
 #include "bitmaps/key.xpm"
 #include "bitmaps/keyf.xpm"
 #include "bitmaps/d_open.xpm"
-#include "bitmaps/d_closed.xpm" 
+#include "bitmaps/d_closed.xpm"
 #include "bitmaps/col.xpm"
 #endif
 
 #include "bitmaps/col.xpm"
 #endif
 
@@ -91,10 +91,10 @@ DBTree::DBTree(wxWindow *parent, const wxWindowID id,const wxPoint& pos, const w
    p_imageListNormal->Add(wxICON(DocOpen));
    p_imageListNormal->Add(wxICON(DocOpen));
 
    p_imageListNormal->Add(wxICON(DocOpen));
    p_imageListNormal->Add(wxICON(DocOpen));
 
 
 
 
 
-  
+
+
   SetImageList(p_imageListNormal);
   ct_BrowserDB = NULL;
 }
   SetImageList(p_imageListNormal);
   ct_BrowserDB = NULL;
 }
@@ -115,110 +115,123 @@ DBTree::~DBTree()
 //---------------------------------------------------------------------------
 int  DBTree::OnPopulate()
 {
 //---------------------------------------------------------------------------
 int  DBTree::OnPopulate()
 {
-  wxTreeItemId Root, Folder, Docu, Funkt;
-  int i,x,y;
-  wxString SQL_TYPE, DB_TYPE;
-
-  //----------------------------------------------------------------------------------------------------------------------------
-  if((pDoc->db_Br+i_Which)->Initialize(FALSE))
+ wxTreeItemId Root, Folder, Docu, Funkt;
+ int i,x,y, TableType;
+ wxString SQL_TYPE, DB_TYPE;
+ //----------------------------------------------------------------------------------------------------------------------------
+ if ((pDoc->db_Br+i_Which)->Initialize(FALSE))
+ {
+  wxBeginBusyCursor();
+  ct_BrowserDB = (pDoc->db_Br+i_Which)->OnGetCatalog(FALSE);
+  if (ct_BrowserDB)
+  { // Use the wxDatabase Information
+   Temp0.Printf("%s - (%s) (%s)", s_DSN.c_str(),ct_BrowserDB->catalog, ct_BrowserDB->schema);
+   // Root = AddRoot(Temp0,TreeIc_DsnOpen,TreeIc_DsnOpen,new DBTreeData("Root"));
+   Root = AddRoot(Temp0,TreeIc_Smile,TreeIc_Smile,new DBTreeData("Root"));
+   for (x=0;x<ct_BrowserDB->numTables;x++)
+   {
+    wxYield();
+    TableType = 0; // TABLE = 1 ; VIEW = 2 ; 0 We are not interested in
+    if (!wxStrcmp((ct_BrowserDB->pTableInf+x)->tableType,"TABLE"))    // only TABLES
+     TableType = 1;
+    if (!wxStrcmp((ct_BrowserDB->pTableInf+x)->tableType,"VIEW"))     // and  VIEWS
+     TableType = 2;
+    if (TableType)    // only TABLES or Views
     {
     {
-      wxBeginBusyCursor();
-      ct_BrowserDB = (pDoc->db_Br+i_Which)->OnGetCatalog(FALSE);
-      if (ct_BrowserDB)
-       { // Use the wxDatabase Information
-         Temp0.Printf("%s - (%s) (%s)", s_DSN.c_str(),ct_BrowserDB->catalog, ct_BrowserDB->schema);
-         Root = AddRoot(Temp0,TreeIc_DsnOpen,TreeIc_DsnOpen,new DBTreeData("Root"));
-         for (x=0;x<ct_BrowserDB->numTables;x++)
-           {
-              wxYield();
-             if (!wxStrcmp((ct_BrowserDB->pTableInf+x)->tableType,"TABLE"))    // only TABLES
-               {
-                 Temp0.Printf(_("Tablename(%s) with (%d)Columns ; Remarks(%s)"),  (ct_BrowserDB->pTableInf+x)->tableName,
-                              (ct_BrowserDB->pTableInf+x)->numCols,
-                              (ct_BrowserDB->pTableInf+x)->tableRemarks);
-                 Temp1.Printf("TN(%s",(ct_BrowserDB->pTableInf+x)->tableName);
-                 //----
-                 (ct_BrowserDB->pTableInf+x)->pColInf = (pDoc->db_Br+i_Which)->OnGetColumns((ct_BrowserDB->pTableInf+x)->tableName,(ct_BrowserDB->pTableInf+x)->numCols,FALSE);
-                 //----
-                 if ((ct_BrowserDB->pTableInf+x)->pColInf)
-                   {
-                     Temp0.Printf(_("Tablename(%s) with (%d)Columns ; Remarks(%s)"),  (ct_BrowserDB->pTableInf+x)->tableName,
-                                  (ct_BrowserDB->pTableInf+x)->numCols,
-                                  (ct_BrowserDB->pTableInf+x)->tableRemarks);
-                     Folder = AppendItem(Root,Temp0,TreeIc_TAB,TreeIc_TAB, new DBTreeData(Temp1));
-                     for (y=0;y<(ct_BrowserDB->pTableInf+x)->numCols;y++)
-                       {
-                         Temp1.Printf("FN(%s",((ct_BrowserDB->pTableInf+x)->pColInf+y)->colName);
-                         // Here is where we find out if the Column is a Primary / Foreign Key
-                         if (((ct_BrowserDB->pTableInf+x)->pColInf+y)->PkCol != 0)  // Primary Key
-                           {
-                             Docu = AppendItem(Folder,((ct_BrowserDB->pTableInf+x)->pColInf+y)->colName,TreeIc_KEY,TreeIc_KEY,new DBTreeData(Temp1));
-                             Temp2.Printf(_("This Key is used in the following Tables : %s"),((ct_BrowserDB->pTableInf+x)->pColInf+y)->PkTableName);
-                             Funkt = AppendItem(Docu,Temp2,TreeIc_DocClosed,TreeIc_DocOpen,new DBTreeData("KEY"));
-                           }
+     Temp1.Printf("TN(%s",(ct_BrowserDB->pTableInf+x)->tableName);
+     //----
+     (ct_BrowserDB->pTableInf+x)->pColInf = (pDoc->db_Br+i_Which)->OnGetColumns((ct_BrowserDB->pTableInf+x)->tableName,(ct_BrowserDB->pTableInf+x)->numCols,FALSE);
+     //----
+     if ((ct_BrowserDB->pTableInf+x)->pColInf)
+     {
+      if (TableType == 1)  // Table
+      {
+       Temp0.Printf(_("Table-Name(%s) with (%d)Columns ; Remarks(%s)"),  (ct_BrowserDB->pTableInf+x)->tableName,
+                              (ct_BrowserDB->pTableInf+x)->numCols,(ct_BrowserDB->pTableInf+x)->tableRemarks);
+       Folder = AppendItem(Root,Temp0,TreeIc_TAB,TreeIc_TAB, new DBTreeData(Temp1));
+      }
+      if (TableType == 2)  // View
+      {
+       Temp0.Printf(_("View-Name(%s) with (%d)Columns ; Remarks(%s)"),  (ct_BrowserDB->pTableInf+x)->tableName,
+                              (ct_BrowserDB->pTableInf+x)->numCols,(ct_BrowserDB->pTableInf+x)->tableRemarks);
+       Folder = AppendItem(Root,Temp0,TreeIc_VIEW,TreeIc_VIEW, new DBTreeData(Temp1));
+      }
+      for (y=0;y<(ct_BrowserDB->pTableInf+x)->numCols;y++)
+      {
+       Temp1.Printf("FN(%s",((ct_BrowserDB->pTableInf+x)->pColInf+y)->colName);
+       // Here is where we find out if the Column is a Primary / Foreign Key
+       if (((ct_BrowserDB->pTableInf+x)->pColInf+y)->PkCol != 0)  // Primary Key
+       {
+        Docu = AppendItem(Folder,((ct_BrowserDB->pTableInf+x)->pColInf+y)->colName,TreeIc_KEY,TreeIc_KEY,new DBTreeData(Temp1));
+        Temp2.Printf(_("This Key is used in the following Tables : %s"),((ct_BrowserDB->pTableInf+x)->pColInf+y)->PkTableName);
+        Funkt = AppendItem(Docu,Temp2,TreeIc_DocClosed,TreeIc_DocOpen,new DBTreeData("KEY"));
+       }
        else
        else
-        if (((ct_BrowserDB->pTableInf+x)->pColInf+y)->FkCol != 0) // Foreign Key
-          {
-            Docu = AppendItem(Folder,((ct_BrowserDB->pTableInf+x)->pColInf+y)->colName,TreeIc_KEYF,TreeIc_KEYF,new DBTreeData(Temp1));
-            Temp2.Printf(_("This Foreign Key comes from the following Table : %s"),((ct_BrowserDB->pTableInf+x)->pColInf+y)->FkTableName);
-            Funkt = AppendItem(Docu,Temp2,TreeIc_DocClosed,TreeIc_DocOpen,new DBTreeData("KEYF"));
-          }
-        else
-          Docu = AppendItem(Folder,((ct_BrowserDB->pTableInf+x)->pColInf+y)->colName,TreeIc_COL,TreeIc_COL,new DBTreeData(Temp1));
-                         SQL_TYPE.Printf(_("SQL_C_???? (%d)"),((ct_BrowserDB->pTableInf+x)->pColInf+y)->sqlDataType);
-                         DB_TYPE.Printf(_("DB_DATA_TYPE_???? (%d)"),((ct_BrowserDB->pTableInf+x)->pColInf+y)->dbDataType);
-                         for (i=1;i<=(pDoc->db_Br+i_Which)->i_SqlTyp[0];i++)
-                           {
-                             if (((ct_BrowserDB->pTableInf+x)->pColInf+y)->sqlDataType == (pDoc->db_Br+i_Which)->i_SqlTyp[i])
-                               {
-                                 SQL_TYPE.Printf("%s(%d) ; ",(pDoc->db_Br+i_Which)->s_SqlTyp[i].c_str(),(pDoc->db_Br+i_Which)->i_SqlTyp[i]);
-                               }
-                           } // for (i=1;i<=i_SqlTyp[0];i++)
-                         for (i=1;i<=(pDoc->db_Br+i_Which)->i_dbTyp[0];i++)
-                           {
-                             if (((ct_BrowserDB->pTableInf+x)->pColInf+y)->dbDataType == (pDoc->db_Br+i_Which)->i_dbTyp[i])
-                               {
-                                 DB_TYPE.Printf("%s(%d)",(pDoc->db_Br+i_Which)->s_dbTyp[i].c_str(),(pDoc->db_Br+i_Which)->i_dbTyp[i]);
-                               }
-                           } // for (i=1;i<=i_dbTyp[0];i++)
-                         SQL_TYPE += DB_TYPE;
-                         Funkt = AppendItem(Docu,SQL_TYPE,TreeIc_DocClosed,TreeIc_DocOpen,new DBTreeData(SQL_TYPE));
-                         SQL_TYPE.Printf("%10s %d,%d",((ct_BrowserDB->pTableInf+x)->pColInf+y)->typeName,
-                                         ((ct_BrowserDB->pTableInf+x)->pColInf+y)->columnSize,
-                                         ((ct_BrowserDB->pTableInf+x)->pColInf+y)->decimalDigits);
-                         Funkt = AppendItem(Docu,SQL_TYPE,TreeIc_DocClosed,TreeIc_DocOpen,new DBTreeData(SQL_TYPE));
-                       }  // for (y=0;y<(ct_BrowserDB->pTableInf+x)->numCols;y++)
-                   }   // if ((ct_BrowserDB->pTableInf+x)->pColInf)
-                 else
-                   Folder = AppendItem(Root,Temp0,TreeIc_FolderClosed,TreeIc_FolderOpen, new DBTreeData(Temp1));
-               }    // if ((ct_BrowserDB->pTableInf+x)->tableType == "TABLE")
-           }     // for (x=0;x<ct_BrowserDB->numTables;x++)
-       }      // if (ct_BrowserDB)
-      else
-       wxLogMessage(_("\n-E-> DBTree::OnPopulate() : Invalid Catalog Pointer : Failed"));
-      wxEndBusyCursor();
-    }       // if((pDoc->db_Br+i_Which)->Initialize(FALSE))
+       {
+        if (((ct_BrowserDB->pTableInf+x)->pColInf+y)->FkCol != 0) // Foreign Key
+        {
+         Docu = AppendItem(Folder,((ct_BrowserDB->pTableInf+x)->pColInf+y)->colName,TreeIc_KEYF,TreeIc_KEYF,new DBTreeData(Temp1));
+         Temp2.Printf(_("This Foreign Key comes from the following Table : %s"),((ct_BrowserDB->pTableInf+x)->pColInf+y)->FkTableName);
+         Funkt = AppendItem(Docu,Temp2,TreeIc_DocClosed,TreeIc_DocOpen,new DBTreeData("KEYF"));
+        }
+        else
+         Docu = AppendItem(Folder,((ct_BrowserDB->pTableInf+x)->pColInf+y)->colName,TreeIc_COL,TreeIc_COL,new DBTreeData(Temp1));
+       }
+       SQL_TYPE.Printf(_("SQL_C_???? (%d)"),((ct_BrowserDB->pTableInf+x)->pColInf+y)->sqlDataType);
+       DB_TYPE.Printf(_("DB_DATA_TYPE_???? (%d)"),((ct_BrowserDB->pTableInf+x)->pColInf+y)->dbDataType);
+       for (i=1;i<=(pDoc->db_Br+i_Which)->i_SqlTyp[0];i++)
+       {
+        if (((ct_BrowserDB->pTableInf+x)->pColInf+y)->sqlDataType == (pDoc->db_Br+i_Which)->i_SqlTyp[i])
+        {
+         SQL_TYPE.Printf("%s(%d) ; ",(pDoc->db_Br+i_Which)->s_SqlTyp[i].c_str(),(pDoc->db_Br+i_Which)->i_SqlTyp[i]);
+        }
+       } // for (i=1;i<=i_SqlTyp[0];i++)
+       for (i=1;i<=(pDoc->db_Br+i_Which)->i_dbTyp[0];i++)
+       {
+        if (((ct_BrowserDB->pTableInf+x)->pColInf+y)->dbDataType == (pDoc->db_Br+i_Which)->i_dbTyp[i])
+        {
+         DB_TYPE.Printf("%s(%d)",(pDoc->db_Br+i_Which)->s_dbTyp[i].c_str(),(pDoc->db_Br+i_Which)->i_dbTyp[i]);
+        }
+       } // for (i=1;i<=i_dbTyp[0];i++)
+       SQL_TYPE += DB_TYPE;
+       Funkt = AppendItem(Docu,SQL_TYPE,TreeIc_DocClosed,TreeIc_DocOpen,new DBTreeData(SQL_TYPE));
+       SQL_TYPE.Printf("%10s %d,%d",((ct_BrowserDB->pTableInf+x)->pColInf+y)->typeName,
+        ((ct_BrowserDB->pTableInf+x)->pColInf+y)->columnSize,((ct_BrowserDB->pTableInf+x)->pColInf+y)->decimalDigits);
+       Funkt = AppendItem(Docu,SQL_TYPE,TreeIc_DocClosed,TreeIc_DocOpen,new DBTreeData(SQL_TYPE));
+      }  // for (y=0;y<(ct_BrowserDB->pTableInf+x)->numCols;y++)
+     }   // if ((ct_BrowserDB->pTableInf+x)->pColInf)
+     else
+      Folder = AppendItem(Root,Temp0,TreeIc_FolderClosed,TreeIc_FolderOpen, new DBTreeData(Temp1));
+    }    // if ((ct_BrowserDB->pTableInf+x)->tableType == "TABLE" or VIEW)
+    // else
+    //  wxLogMessage(_("\n-I-> if ! TABLE or VIEW  >%s<"),(ct_BrowserDB->pTableInf+x)->tableType);
+   }     // for (x=0;x<ct_BrowserDB->numTables;x++)
+  }      // if (ct_BrowserDB)
   else
   else
-    {
-      return 0;
-      //wxLogMessage(_("\n-E-> DBTree::OnPopulate() : A valid Pointer could not be created : Failed"));
-    }
-  //----------------------------------------------------------------------------------------------------------------------------
-  Expand(Root);
-  //----------------------------------------------------------------------------------------------------------------------------
-  popupMenu1 = NULL;
-  popupMenu1 = new wxMenu("");
-  popupMenu1->Append(DATA_DB, _("Make wxDB.cpp/h "));
-  popupMenu1->AppendSeparator();
-  popupMenu1->Append(DATA_TABLE_ALL, _("Make all wxTable.cpp/h classes"));
-  popupMenu2 = NULL;
-  popupMenu2 = new wxMenu("");
-  popupMenu2->Append(DATA_SHOW, _("Show Data"));
-  popupMenu2->AppendSeparator();
-  popupMenu2->Append(DATA_TABLE, _("Make wxTable.cpp/h "));
-  //----------------------------------------------------------------------------------------------------------------------------
-
+   wxLogMessage(_("\n-E-> DBTree::OnPopulate() : Invalid Catalog Pointer : Failed"));
+  wxEndBusyCursor();
+ }       // if((pDoc->db_Br+i_Which)->Initialize(FALSE))
+ else
+ {
+  wxLogMessage(_("\n-E-> DBTree::OnPopulate() : A valid Pointer could not be created : Failed"));
   return 0;
   return 0;
+ }
+ //----------------------------------------------------------------------------------------------------------------------------
+ Expand(Root);
+ //----------------------------------------------------------------------------------------------------------------------------
+ popupMenu1 = NULL;
+ popupMenu1 = new wxMenu("");
+ popupMenu1->Append(DATA_DB, _("Make wxDB.cpp/h "));
+ popupMenu1->AppendSeparator();
+ popupMenu1->Append(DATA_TABLE_ALL, _("Make all wxTable.cpp/h classes"));
+ popupMenu2 = NULL;
+ popupMenu2 = new wxMenu("");
+ popupMenu2->Append(DATA_SHOW, _("Show Data"));
+ popupMenu2->AppendSeparator();
+ popupMenu2->Append(DATA_TABLE, _("Make wxTable.cpp/h "));
+ //----------------------------------------------------------------------------------------------------------------------------
+
+ return 0;
 }
 //---------------------------------------------------------------------------
 void DBTree::OnSelChanged(wxTreeEvent& WXUNUSED(event))
 }
 //---------------------------------------------------------------------------
 void DBTree::OnSelChanged(wxTreeEvent& WXUNUSED(event))
index 823e3be478a8474cc8cf42ea2153bd7a7cf64ad1..61d5604385d3b4069d5c9ca171c0c2db234e1dfb 100644 (file)
@@ -29,11 +29,12 @@ class DBTree : public wxTreeCtrl
    TreeIc_DsnClosed,                // dsnclose.ico
    TreeIc_DsnOpen,                  // dsnopen.ico
    TreeIc_TAB,                      // tab.ico
    TreeIc_DsnClosed,                // dsnclose.ico
    TreeIc_DsnOpen,                  // dsnopen.ico
    TreeIc_TAB,                      // tab.ico
+   TreeIc_VIEW,                     // view.ico
    TreeIc_COL,                      // col.ico
    TreeIc_KEY,                      // key.ico
    TreeIc_KEYF,                     // keyf.ico
    TreeIc_COL,                      // col.ico
    TreeIc_KEY,                      // key.ico
    TreeIc_KEYF,                     // keyf.ico
-   TreeIc_DocClosed,                // d_closed.ico
    TreeIc_DocOpen,                  // d_open.ico
    TreeIc_DocOpen,                  // d_open.ico
+   TreeIc_DocClosed,                // d_closed.ico
    TreeIc_FolderClosed,             // f_closed.ico
    TreeIc_FolderOpen                // f_open.ico
   };
    TreeIc_FolderClosed,             // f_closed.ico
    TreeIc_FolderOpen                // f_open.ico
   };
index 913caefac919f9f4afa883683dce46ef35fe5ae9..579f162570a662a7a82899dd03fd9a7e69939be7 100644 (file)
@@ -26,8 +26,9 @@
   <TR><TH bgcolor=#FFFFAA><B><IMG SRC="../help.png/key.png">&nbsp;key.ico / key.xpm</B></TH><TH bgcolor=#FFFFE0><B>dbtree.cpp :<BR> ODBC Primärschlüssel-Spalte in eine Tablle</B></FONT></TH></TR>
   <TR><TH bgcolor=#CCFFCC><B><IMG SRC="../help.png/keyf.png">&nbsp;keyf.ico / keyf.xpm</B></TH><TH><B>dbtree.cpp :<BR> ODBC Fremdschlüssel-Spalte in eine Tablle</B></FONT></TH></TR>
   <TR><TH bgcolor=#FFFFAA><B><IMG SRC="../help.png/logo.png">&nbsp;logo.ico / logo.xpm</B></TH><TH bgcolor=#FFFFE0><B>Programm Logo</B></FONT></TH></TR>
   <TR><TH bgcolor=#FFFFAA><B><IMG SRC="../help.png/key.png">&nbsp;key.ico / key.xpm</B></TH><TH bgcolor=#FFFFE0><B>dbtree.cpp :<BR> ODBC Primärschlüssel-Spalte in eine Tablle</B></FONT></TH></TR>
   <TR><TH bgcolor=#CCFFCC><B><IMG SRC="../help.png/keyf.png">&nbsp;keyf.ico / keyf.xpm</B></TH><TH><B>dbtree.cpp :<BR> ODBC Fremdschlüssel-Spalte in eine Tablle</B></FONT></TH></TR>
   <TR><TH bgcolor=#FFFFAA><B><IMG SRC="../help.png/logo.png">&nbsp;logo.ico / logo.xpm</B></TH><TH bgcolor=#FFFFE0><B>Programm Logo</B></FONT></TH></TR>
-  <TR><TH bgcolor=#FFFFAA><B><IMG SRC="../help.png/pgmctrl.png">&nbsp;pgmctrl.ico / pgmctrl.xpm / pgmctrl.bmp</B></TH><TH bgcolor=#FFFFE0><B>pgmctrl.cpp :<BR> Tab Bitmap</B></FONT></TH></TR>
-  <TR><TH bgcolor=#CCFFCC><B><IMG SRC="../help.png/tab.png">&nbsp;tab.ico / tab.xpm</B></TH><TH><B>dbtree.cpp :<BR> ODBC Tabelle</B></FONT></TH></TR>
+  <TR><TH bgcolor=#CCFFCC><B><IMG SRC="../help.png/pgmctrl.png">&nbsp;pgmctrl.ico / pgmctrl.xpm / pgmctrl.bmp</B></TH><TH bgcolor=#FFFFE0><B>pgmctrl.cpp :<BR> Tab Bitmap</B></FONT></TH></TR>
+  <TR><TH bgcolor=#FFFFAA><B><IMG SRC="../help.png/tab.png">&nbsp;tab.ico / tab.xpm</B></TH><TH><B>dbtree.cpp :<BR> ODBC Table</B></FONT></TH></TR>
+  <TR><TH bgcolor=#CCFFCC><B><IMG SRC="../help.png/view.png">&nbsp;view.ico / view.xpm</B></TH><TH><B>dbtree.cpp :<BR> ODBC View</B></FONT></TH></TR>
  </TR></TBODY></TABLE>
  <TABLE border=1><B><TBODY><TR bgcolor=#FFF777>
   <TH><B><A HREF="icons.htm">Alle andere Pictograms werden nicht in DBBrowser verwendet.<BR>(sind .png Files)</A></B></FONT></TH>
  </TR></TBODY></TABLE>
  <TABLE border=1><B><TBODY><TR bgcolor=#FFF777>
   <TH><B><A HREF="icons.htm">Alle andere Pictograms werden nicht in DBBrowser verwendet.<BR>(sind .png Files)</A></B></FONT></TH>
index cfb8eee77132d179a55cfd8c9ea4916bc3221720..2864811ec188f2bc29b4635f157a04a7bfe5bf3d 100644 (file)
@@ -5,7 +5,7 @@
  <TABLE border=1><B><TBODY><TR bgcolor=#CCFFFF>
   <TH><B><H3><IMG SRC="../help.png/logo.png">&nbsp;DBBrowser : Was Funktionert nicht ?</H3><BR>(deutsch)</B></FONT></TH>
  </TABLE></TBODY></TR><P>
  <TABLE border=1><B><TBODY><TR bgcolor=#CCFFFF>
   <TH><B><H3><IMG SRC="../help.png/logo.png">&nbsp;DBBrowser : Was Funktionert nicht ?</H3><BR>(deutsch)</B></FONT></TH>
  </TABLE></TBODY></TR><P>
- <B>Stand: 2000-01-22.01-mj10777</B>
+ <B>Stand: 2000-02-04.01-mj10777</B>
 <!----------------------------------------------------------------------------------------------------------->
  <HR><TABLE border=1><B><TBODY>
   <TR><TH bgcolor=#CCFFFF><B>Allgemein</B></TH></TR>
 <!----------------------------------------------------------------------------------------------------------->
  <HR><TABLE border=1><B><TBODY>
   <TR><TH bgcolor=#CCFFFF><B>Allgemein</B></TH></TR>
@@ -38,7 +38,7 @@
 <!-------------------------------------->
  <TABLE border=1><B><TBODY><TR>
   <TR><TH bgcolor=#FFFFAA><B>Problem :</B></TH><TH bgcolor=#FFFFE0><B>Warum Funktioniert die Aktulisierungs-Taste (F5) nicht?</B></FONT></TH></TR>
 <!-------------------------------------->
  <TABLE border=1><B><TBODY><TR>
   <TR><TH bgcolor=#FFFFAA><B>Problem :</B></TH><TH bgcolor=#FFFFE0><B>Warum Funktioniert die Aktulisierungs-Taste (F5) nicht?</B></FONT></TH></TR>
-  <TR><TH bgcolor=#CCFFCC><B>Lösung :</B></TH><TH><B>unbekannt</B></FONT></TH></TR>
+  <TR><TH bgcolor=#CCFFCC><B>Solution :</B></TH><TH><B>pDoc->p_Hilfe-> Display("GUp_Mask_Kunden.htm#Sonstiges");</B></FONT></TH></TR>
  </TR></TBODY></TABLE><P>
 <!-------------------------------------->
  <TABLE border=1><B><TBODY><TR>
  </TR></TBODY></TABLE><P>
 <!-------------------------------------->
  <TABLE border=1><B><TBODY><TR>
  </TBODY></TABLE>
  <TABLE border=1><B><TBODY><TR>
   <TR><TH bgcolor=#FFFFAA><B>Problem :</B></TH><TH bgcolor=#FFFFE0><B>Wenn wxGrid in wxPaggedWindows verwendet wird, funktioniert die Scrollbars nicht.</B></FONT></TH></TR>
  </TBODY></TABLE>
  <TABLE border=1><B><TBODY><TR>
   <TR><TH bgcolor=#FFFFAA><B>Problem :</B></TH><TH bgcolor=#FFFFE0><B>Wenn wxGrid in wxPaggedWindows verwendet wird, funktioniert die Scrollbars nicht.</B></FONT></TH></TR>
-  <TR><TH bgcolor=#CCFFCC><B>Lösung :</B></TH><TH><B>unbekannt</B></FONT></TH></TR>
+  <TR><TH bgcolor=#CCFFCC><B>Lösung :</B></TH><TH><B>04.02.2000 : mit neue Grid Version gelößt</B></FONT></TH></TR>
+ </TR></TBODY></TABLE><P>
+<!----------------------------------------------------------------------------------------------------------->
+ <HR><TABLE border=1><B><TBODY>
+  <TR><TH bgcolor=#CCFFFF><B>wxGrid (newe Version) 04.02.2000</B></TH></TR>
+ </TBODY></TABLE>
+ <TABLE border=1><B><TBODY><TR>
+  <TR><TH bgcolor=#FFFFAA><B>Problem :</B></TH><TH bgcolor=#FFFFE0><B>Often : Error: wxGrid::CreateGrid(numRows, numCols) called more than once</B></FONT></TH></TR>
+  <TR><TH bgcolor=#CCFFCC><B>Solution :</B></TH><TH><B>in Arbeit</B></FONT></TH></TR>
  </TR></TBODY></TABLE><P>
 <!----------------------------------------------------------------------------------------------------------->
  <HR><TABLE border=1><B><TBODY>
  </TR></TBODY></TABLE><P>
 <!----------------------------------------------------------------------------------------------------------->
  <HR><TABLE border=1><B><TBODY>
diff --git a/demos/dbbrowse/help.png/view.png b/demos/dbbrowse/help.png/view.png
new file mode 100644 (file)
index 0000000..51f776f
Binary files /dev/null and b/demos/dbbrowse/help.png/view.png differ
index 51b0947c7dfee90895ad85120d6837e1f9f3ae71..dbce0fcbd13ee2441ceaac3e8b9f1ba64439fa4e 100644 (file)
@@ -25,8 +25,9 @@
   <TR><TH bgcolor=#FFFFAA><B><IMG SRC="../help.png/key.png">&nbsp;key.ico / key.xpm</B></TH><TH bgcolor=#FFFFE0><B>dbtree.cpp :<BR> ODBC Primary-Key Column in a Table</B></FONT></TH></TR>
   <TR><TH bgcolor=#CCFFCC><B><IMG SRC="../help.png/keyf.png">&nbsp;keyf.ico / keyf.xpm</B></TH><TH><B>dbtree.cpp :<BR> ODBC Foreign-Key Column in a Table</B></FONT></TH></TR>
   <TR><TH bgcolor=#FFFFAA><B><IMG SRC="../help.png/logo.png">&nbsp;logo.ico / logo.xpm</B></TH><TH bgcolor=#FFFFE0><B>Programm Logo</B></FONT></TH></TR>
   <TR><TH bgcolor=#FFFFAA><B><IMG SRC="../help.png/key.png">&nbsp;key.ico / key.xpm</B></TH><TH bgcolor=#FFFFE0><B>dbtree.cpp :<BR> ODBC Primary-Key Column in a Table</B></FONT></TH></TR>
   <TR><TH bgcolor=#CCFFCC><B><IMG SRC="../help.png/keyf.png">&nbsp;keyf.ico / keyf.xpm</B></TH><TH><B>dbtree.cpp :<BR> ODBC Foreign-Key Column in a Table</B></FONT></TH></TR>
   <TR><TH bgcolor=#FFFFAA><B><IMG SRC="../help.png/logo.png">&nbsp;logo.ico / logo.xpm</B></TH><TH bgcolor=#FFFFE0><B>Programm Logo</B></FONT></TH></TR>
-  <TR><TH bgcolor=#FFFFAA><B><IMG SRC="../help.png/pgmctrl.png">&nbsp;pgmctrl.ico / pgmctrl.xpm / pgmctrl.bmp</B></TH><TH bgcolor=#FFFFE0><B>pgmctrl.cpp :<BR> Tab Bitmap</B></FONT></TH></TR>
-  <TR><TH bgcolor=#CCFFCC><B><IMG SRC="../help.png/tab.png">&nbsp;tab.ico / tab.xpm</B></TH><TH><B>dbtree.cpp :<BR> ODBC Table</B></FONT></TH></TR>
+  <TR><TH bgcolor=#CCFFCC><B><IMG SRC="../help.png/pgmctrl.png">&nbsp;pgmctrl.ico / pgmctrl.xpm / pgmctrl.bmp</B></TH><TH bgcolor=#FFFFE0><B>pgmctrl.cpp :<BR> Tab Bitmap</B></FONT></TH></TR>
+  <TR><TH bgcolor=#FFFFAA><B><IMG SRC="../help.png/tab.png">&nbsp;tab.ico / tab.xpm</B></TH><TH><B>dbtree.cpp :<BR> ODBC Table</B></FONT></TH></TR>
+  <TR><TH bgcolor=#CCFFCC><B><IMG SRC="../help.png/view.png">&nbsp;view.ico / view.xpm</B></TH><TH><B>dbtree.cpp :<BR> ODBC View</B></FONT></TH></TR>
  </TR></TBODY></TABLE>
  <TABLE border=1><B><TBODY><TR bgcolor=#FFF777>
   <TH><B><A HREF="pictograms.htm">All other Pictograms are not used in DBBrowser<BR>(they are .png files)</A></B></FONT></TH>
  </TR></TBODY></TABLE>
  <TABLE border=1><B><TBODY><TR bgcolor=#FFF777>
   <TH><B><A HREF="pictograms.htm">All other Pictograms are not used in DBBrowser<BR>(they are .png files)</A></B></FONT></TH>
index a6d64aa689d329bc343e3016d5287a88a8614de7..d08cdccfa10d9b445842132706497ce21fbce4cd 100644 (file)
@@ -5,7 +5,7 @@
  <TABLE border=1><B><TBODY><TR bgcolor=#CCFFFF>
   <TH><B><H3><IMG SRC="../help.png/logo.png">&nbsp;DBBrowser : What does not Work ?</H3><BR>(English)</B></FONT></TH>
  </TABLE></TBODY></TR><P>
  <TABLE border=1><B><TBODY><TR bgcolor=#CCFFFF>
   <TH><B><H3><IMG SRC="../help.png/logo.png">&nbsp;DBBrowser : What does not Work ?</H3><BR>(English)</B></FONT></TH>
  </TABLE></TBODY></TR><P>
- <B>Stand: 2000-01-22.01-mj10777</B>
+ <B>Stand: 2000-02-04.01-mj10777</B>
 <!-------------------------------------->
  <HR><TABLE border=1><B><TBODY>
   <TR><TH bgcolor=#CCFFFF><B>General</B></TH></TR>
 <!-------------------------------------->
  <HR><TABLE border=1><B><TBODY>
   <TR><TH bgcolor=#CCFFFF><B>General</B></TH></TR>
 <!-------------------------------------->
  <TABLE border=1><B><TBODY><TR>
   <TR><TH bgcolor=#FFFFAA><B>Problem :</B></TH><TH bgcolor=#FFFFE0><B>How can Help be called and a certin Page be opened (Context Help)</B></FONT></TH></TR>
 <!-------------------------------------->
  <TABLE border=1><B><TBODY><TR>
   <TR><TH bgcolor=#FFFFAA><B>Problem :</B></TH><TH bgcolor=#FFFFE0><B>How can Help be called and a certin Page be opened (Context Help)</B></FONT></TH></TR>
-  <TR><TH bgcolor=#CCFFCC><B>Solution :</B></TH><TH><B>unknown</B></FONT></TH></TR>
+  <TR><TH bgcolor=#CCFFCC><B>Solution :</B></TH><TH><B>p_Help-> Display("GUp_Mask_Kunden.htm#Sonstiges");</B></FONT></TH></TR>
  </TR></TBODY></TABLE><P>
 <!-------------------------------------->
  <TABLE border=1><B><TBODY><TR>
   <TR><TH bgcolor=#FFFFAA><B>Problem :</B></TH><TH bgcolor=#FFFFE0><B>Why doesn't the Refresh-Button (F5) work?</B></FONT></TH></TR>
  </TR></TBODY></TABLE><P>
 <!-------------------------------------->
  <TABLE border=1><B><TBODY><TR>
   <TR><TH bgcolor=#FFFFAA><B>Problem :</B></TH><TH bgcolor=#FFFFE0><B>Why doesn't the Refresh-Button (F5) work?</B></FONT></TH></TR>
-  <TR><TH bgcolor=#CCFFCC><B>Lvsung :</B></TH><TH><B>unbekannt</B></FONT></TH></TR>
+  <TR><TH bgcolor=#CCFFCC><B>solved :</B></TH><TH><B>unbekannt</B></FONT></TH></TR>
  </TR></TBODY></TABLE><P>
 <!-------------------------------------->
  <TABLE border=1><B><TBODY><TR>
  </TR></TBODY></TABLE><P>
 <!-------------------------------------->
  <TABLE border=1><B><TBODY><TR>
  </TR></TBODY></TABLE><P>
 <!----------------------------------------------------------------------------------------------------------->
  <HR><TABLE border=1><B><TBODY>
  </TR></TBODY></TABLE><P>
 <!----------------------------------------------------------------------------------------------------------->
  <HR><TABLE border=1><B><TBODY>
-  <TR><TH bgcolor=#CCFFFF><B>wxGrid (new Versions)</B></TH></TR>
+  <TR><TH bgcolor=#CCFFFF><B>wxGrid (new Version)</B></TH></TR>
  </TBODY></TABLE>
  <TABLE border=1><B><TBODY><TR>
   <TR><TH bgcolor=#FFFFAA><B>Problem :</B></TH><TH bgcolor=#FFFFE0><B>When wxGrid is used in wxPaggedWindows, the Scrollbars do not work.</B></FONT></TH></TR>
  </TBODY></TABLE>
  <TABLE border=1><B><TBODY><TR>
   <TR><TH bgcolor=#FFFFAA><B>Problem :</B></TH><TH bgcolor=#FFFFE0><B>When wxGrid is used in wxPaggedWindows, the Scrollbars do not work.</B></FONT></TH></TR>
+  <TR><TH bgcolor=#CCFFCC><B>Solution :</B></TH><TH><B>04.02.2000 : This has been solved with the new code.</B></FONT></TH></TR>
+ </TR></TBODY></TABLE><P>
+<!----------------------------------------------------------------------------------------------------------->
+ <HR><TABLE border=1><B><TBODY>
+  <TR><TH bgcolor=#CCFFFF><B>wxGrid (new Version) 04.02.2000</B></TH></TR>
+ </TBODY></TABLE>
+ <TABLE border=1><B><TBODY><TR>
+  <TR><TH bgcolor=#FFFFAA><B>Problem :</B></TH><TH bgcolor=#FFFFE0><B>Often : Error: wxGrid::CreateGrid(numRows, numCols) called more than once</B></FONT></TH></TR>
   <TR><TH bgcolor=#CCFFCC><B>Solution :</B></TH><TH><B>unknown</B></FONT></TH></TR>
  </TR></TBODY></TABLE><P>
 <!----------------------------------------------------------------------------------------------------------->
   <TR><TH bgcolor=#CCFFCC><B>Solution :</B></TH><TH><B>unknown</B></FONT></TH></TR>
  </TR></TBODY></TABLE><P>
 <!----------------------------------------------------------------------------------------------------------->