xref: /trunk/main/dbaccess/source/ui/dlg/RelationDlg.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#ifndef DBAUI_RELATIONDIALOG_HRC
29#include "RelationDlg.hrc"
30#endif
31#ifndef _DBU_DLG_HRC_
32#include "dbu_dlg.hrc"
33#endif
34#include "dbaccess_helpid.hrc"
35
36
37ModalDialog DLG_REL_PROPERTIES
38{
39    HelpID = "dbaccess:ModalDialog:DLG_REL_PROPERTIES";
40    OutputSize = TRUE ;
41    SVLook = TRUE ;
42    Size = MAP_APPFONT ( 186 , 205 ) ;
43    Text [ en-US ] = "Relations" ;
44    Moveable = TRUE ;
45    Closeable = TRUE ;
46
47
48    Window WND_CONTROL
49    {
50        Pos = MAP_APPFONT( 0, 0 );
51        Size = MAP_APPFONT( 186, 113 );
52        DialogControl = TRUE;
53        HelpId        = HID_DLG_QRY_WINDOW_CONTROL ;
54
55        FixedLine FL_INVOLVED_TABLES
56        {
57            Pos = MAP_APPFONT ( 6 , 3 ) ;
58            Size = MAP_APPFONT ( 174 , 8 ) ;
59            Text [ en-US ] = "Tables involved";
60        };
61
62        ListBox LB_LEFT_TABLE
63        {
64            Border = TRUE;
65            Pos = MAP_APPFONT( 12, 14 );
66            Size = MAP_APPFONT( 78, 60 );
67            HelpId   = HID_DLG_QRY_LEFT_TABLE ;
68            DropDown = TRUE;
69            TabStop = TRUE;
70        };
71
72        ListBox LB_RIGHT_TABLE
73        {
74            Border = TRUE;
75            Pos = MAP_APPFONT( 96, 14 );
76            Size = MAP_APPFONT( 78, 60 );
77            HelpId   = HID_DLG_QRY_RIGHT_TABLE ;
78            DropDown = TRUE;
79            TabStop = TRUE;
80        };
81
82        FixedLine FL_INVOLVED_FIELDS
83        {
84            Pos = MAP_APPFONT ( 6 , 29 ) ;
85            Size = MAP_APPFONT ( 174 , 8 ) ;
86            Text [ en-US ] = "Fields involved";
87        };
88    };
89
90
91
92
93    FixedLine FL_CASC_UPD
94    {
95        Pos = MAP_APPFONT ( 6 , 114 ) ;
96        Size = MAP_APPFONT ( 84 , 8 ) ;
97        Text [ en-US ] = "Update options" ;
98    };
99    RadioButton RB_NO_CASC_UPD
100    {
101        Pos = MAP_APPFONT ( 12 , 125 ) ;
102        Size = MAP_APPFONT ( 72 , 10 ) ;
103        TabStop = TRUE ;
104        HelpId  = HID_DLG_REL_NO_CASC_UPD;
105        Text [ en-US ] = "~No action" ;
106    };
107    RadioButton RB_CASC_UPD
108    {
109        Pos = MAP_APPFONT ( 12 , 139 ) ;
110        Size = MAP_APPFONT ( 72 , 10 ) ;
111        HelpId  = HID_DLG_REL_CASC_UPD ;
112        Text [ en-US ] = "~Update cascade" ;
113    };
114    RadioButton RB_CASC_UPD_NULL
115    {
116        Pos = MAP_APPFONT ( 12 , 153 ) ;
117        Size = MAP_APPFONT ( 72 , 10 ) ;
118        HelpId  = HID_DLG_REL_CASC_UPD_NULL ;
119        Text [ en-US ] = "~Set null" ;
120    };
121    RadioButton RB_CASC_UPD_DEFAULT
122    {
123        Pos = MAP_APPFONT ( 12 , 167 ) ;
124        Size = MAP_APPFONT ( 72 , 10 ) ;
125        HelpId  = HID_DLG_REL_CASC_UPD_DEFAULT ;
126        Text [ en-US ] = "Set ~default" ;
127    };
128// zweite FixedLine
129    FixedLine FL_CASC_DEL
130    {
131        Pos = MAP_APPFONT ( 96 , 114 ) ;
132        Size = MAP_APPFONT ( 84 , 8 ) ;
133        Text [ en-US ] = "Delete options" ;
134    };
135    RadioButton RB_NO_CASC_DEL
136    {
137        Pos = MAP_APPFONT ( 102 , 125 ) ;
138        Size = MAP_APPFONT ( 72 , 10 ) ;
139        TabStop = TRUE ;
140        HelpId  = HID_DLG_REL_NO_CASC_DEL ;
141        Text [ en-US ] = "~No action" ;
142    };
143    RadioButton RB_CASC_DEL
144    {
145        Pos = MAP_APPFONT ( 102 , 139 ) ;
146        Size = MAP_APPFONT ( 72 , 10 ) ;
147        HelpId  = HID_DLG_REL_CASC_DEL ;
148        Text [ en-US ] = "Delete ~cascade" ;
149    };
150    RadioButton RB_CASC_DEL_NULL
151    {
152        Pos = MAP_APPFONT ( 102 , 153 ) ;
153        Size = MAP_APPFONT ( 72 , 10 ) ;
154        HelpId  = HID_DLG_REL_CASC_DEL_NULL ;
155        Text [ en-US ] = "~Set null" ;
156    };
157    RadioButton RB_CASC_DEL_DEFAULT
158    {
159        Pos = MAP_APPFONT ( 102 , 167 ) ;
160        Size = MAP_APPFONT ( 72 , 10 ) ;
161        HelpId  = HID_DLG_REL_CASC_DEL_DEFAULT ;
162        Text [ en-US ] = "Set ~default" ;
163    };
164
165    OKButton PB_OK
166    {
167        Pos = MAP_APPFONT ( 6 , 184 ) ;
168        Size = MAP_APPFONT ( 50 , 14 ) ;
169        TabStop = TRUE ;
170        DefButton = TRUE ;
171    };
172    CancelButton PB_CANCEL
173    {
174        Pos = MAP_APPFONT ( 59 , 184 ) ;
175        Size = MAP_APPFONT ( 50 , 14 ) ;
176        TabStop = TRUE ;
177    };
178    HelpButton PB_HELP
179    {
180        Pos = MAP_APPFONT ( 115 , 184 ) ;
181        Size = MAP_APPFONT ( 50 , 14 ) ;
182        TabStop = TRUE ;
183    };
184
185};
186
187