diff options
author | Frank Schönheit <fs@openoffice.org> | 2001-05-30 15:48:06 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2001-05-30 15:48:06 +0000 |
commit | 4eb3530d39c761a4b71f5eb740f965e2f99eada8 (patch) | |
tree | d502aebd01db59c967332ff3d98cb830c041fa36 /extensions/source/dbpilots/groupboxwiz.cxx | |
parent | 219a4b02bd9233834db7193dab6ce9b15ef48295 (diff) |
#86714# show the data source of the form on the first not data source related page
Diffstat (limited to 'extensions/source/dbpilots/groupboxwiz.cxx')
-rw-r--r-- | extensions/source/dbpilots/groupboxwiz.cxx | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/extensions/source/dbpilots/groupboxwiz.cxx b/extensions/source/dbpilots/groupboxwiz.cxx index c19e303efd4b..8e13563d84e5 100644 --- a/extensions/source/dbpilots/groupboxwiz.cxx +++ b/extensions/source/dbpilots/groupboxwiz.cxx @@ -2,9 +2,9 @@ * * $RCSfile: groupboxwiz.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: fs $ $Date: 2001-03-20 15:45:51 $ + * last change: $Author: fs $ $Date: 2001-05-30 16:48:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -272,6 +272,21 @@ namespace dbp { FreeResource(); + if (getContext().aFieldNames.getLength()) + { + enableFormDatasourceDisplay(); + } + else + { + adjustControlForNoDSDisplay(&m_aFrame); + adjustControlForNoDSDisplay(&m_aRadioNameLabel); + adjustControlForNoDSDisplay(&m_aRadioName); + adjustControlForNoDSDisplay(&m_aMoveRight); + adjustControlForNoDSDisplay(&m_aMoveLeft); + adjustControlForNoDSDisplay(&m_aExistingRadiosLabel); + adjustControlForNoDSDisplay(&m_aExistingRadios, sal_True); + } + m_aMoveLeft.SetClickHdl(LINK(this, ORadioSelectionPage, OnMoveEntry)); m_aMoveRight.SetClickHdl(LINK(this, ORadioSelectionPage, OnMoveEntry)); m_aRadioName.SetModifyHdl(LINK(this, ORadioSelectionPage, OnNameModified)); @@ -605,6 +620,9 @@ namespace dbp /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.8 2001/03/20 15:45:51 fs + * #85200# added missing help ids + * * Revision 1.7 2001/03/06 15:09:00 fs * adjust the focus on the RadioSelectionPage * |