xref: /AOO41X/main/dbaccess/source/ui/dlg/RelationDlg.src (revision 81d089ae0b6b164818efbaaff21440338527721c)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#ifndef DBAUI_RELATIONDIALOG_HRC
25#include "RelationDlg.hrc"
26#endif
27#ifndef _DBU_DLG_HRC_
28#include "dbu_dlg.hrc"
29#endif
30#include "dbaccess_helpid.hrc"
31
32
33ModalDialog DLG_REL_PROPERTIES
34{
35    HelpID = "dbaccess:ModalDialog:DLG_REL_PROPERTIES";
36    OutputSize = TRUE ;
37    SVLook = TRUE ;
38    Size = MAP_APPFONT ( 186 , 205 ) ;
39    Text [ en-US ] = "Relations" ;
40    Moveable = TRUE ;
41    Closeable = TRUE ;
42
43
44    Window WND_CONTROL
45    {
46        Pos = MAP_APPFONT( 0, 0 );
47        Size = MAP_APPFONT( 186, 113 );
48        DialogControl = TRUE;
49        HelpId        = HID_DLG_QRY_WINDOW_CONTROL ;
50
51        FixedLine FL_INVOLVED_TABLES
52        {
53            Pos = MAP_APPFONT ( 6 , 3 ) ;
54            Size = MAP_APPFONT ( 174 , 8 ) ;
55            Text [ en-US ] = "Tables involved";
56        };
57
58        ListBox LB_LEFT_TABLE
59        {
60            Border = TRUE;
61            Pos = MAP_APPFONT( 12, 14 );
62            Size = MAP_APPFONT( 78, 60 );
63            HelpId   = HID_DLG_QRY_LEFT_TABLE ;
64            DropDown = TRUE;
65            TabStop = TRUE;
66        };
67
68        ListBox LB_RIGHT_TABLE
69        {
70            Border = TRUE;
71            Pos = MAP_APPFONT( 96, 14 );
72            Size = MAP_APPFONT( 78, 60 );
73            HelpId   = HID_DLG_QRY_RIGHT_TABLE ;
74            DropDown = TRUE;
75            TabStop = TRUE;
76        };
77
78        FixedLine FL_INVOLVED_FIELDS
79        {
80            Pos = MAP_APPFONT ( 6 , 29 ) ;
81            Size = MAP_APPFONT ( 174 , 8 ) ;
82            Text [ en-US ] = "Fields involved";
83        };
84    };
85
86
87
88
89    FixedLine FL_CASC_UPD
90    {
91        Pos = MAP_APPFONT ( 6 , 114 ) ;
92        Size = MAP_APPFONT ( 84 , 8 ) ;
93        Text [ en-US ] = "Update options" ;
94    };
95    RadioButton RB_NO_CASC_UPD
96    {
97        Pos = MAP_APPFONT ( 12 , 125 ) ;
98        Size = MAP_APPFONT ( 72 , 10 ) ;
99        TabStop = TRUE ;
100        HelpId  = HID_DLG_REL_NO_CASC_UPD;
101        Text [ en-US ] = "~No action" ;
102    };
103    RadioButton RB_CASC_UPD
104    {
105        Pos = MAP_APPFONT ( 12 , 139 ) ;
106        Size = MAP_APPFONT ( 72 , 10 ) ;
107        HelpId  = HID_DLG_REL_CASC_UPD ;
108        Text [ en-US ] = "~Update cascade" ;
109    };
110    RadioButton RB_CASC_UPD_NULL
111    {
112        Pos = MAP_APPFONT ( 12 , 153 ) ;
113        Size = MAP_APPFONT ( 72 , 10 ) ;
114        HelpId  = HID_DLG_REL_CASC_UPD_NULL ;
115        Text [ en-US ] = "~Set null" ;
116    };
117    RadioButton RB_CASC_UPD_DEFAULT
118    {
119        Pos = MAP_APPFONT ( 12 , 167 ) ;
120        Size = MAP_APPFONT ( 72 , 10 ) ;
121        HelpId  = HID_DLG_REL_CASC_UPD_DEFAULT ;
122        Text [ en-US ] = "Set ~default" ;
123    };
124// zweite FixedLine
125    FixedLine FL_CASC_DEL
126    {
127        Pos = MAP_APPFONT ( 96 , 114 ) ;
128        Size = MAP_APPFONT ( 84 , 8 ) ;
129        Text [ en-US ] = "Delete options" ;
130    };
131    RadioButton RB_NO_CASC_DEL
132    {
133        Pos = MAP_APPFONT ( 102 , 125 ) ;
134        Size = MAP_APPFONT ( 72 , 10 ) ;
135        TabStop = TRUE ;
136        HelpId  = HID_DLG_REL_NO_CASC_DEL ;
137        Text [ en-US ] = "~No action" ;
138    };
139    RadioButton RB_CASC_DEL
140    {
141        Pos = MAP_APPFONT ( 102 , 139 ) ;
142        Size = MAP_APPFONT ( 72 , 10 ) ;
143        HelpId  = HID_DLG_REL_CASC_DEL ;
144        Text [ en-US ] = "Delete ~cascade" ;
145    };
146    RadioButton RB_CASC_DEL_NULL
147    {
148        Pos = MAP_APPFONT ( 102 , 153 ) ;
149        Size = MAP_APPFONT ( 72 , 10 ) ;
150        HelpId  = HID_DLG_REL_CASC_DEL_NULL ;
151        Text [ en-US ] = "~Set null" ;
152    };
153    RadioButton RB_CASC_DEL_DEFAULT
154    {
155        Pos = MAP_APPFONT ( 102 , 167 ) ;
156        Size = MAP_APPFONT ( 72 , 10 ) ;
157        HelpId  = HID_DLG_REL_CASC_DEL_DEFAULT ;
158        Text [ en-US ] = "Set ~default" ;
159    };
160
161    OKButton PB_OK
162    {
163        Pos = MAP_APPFONT ( 6 , 184 ) ;
164        Size = MAP_APPFONT ( 50 , 14 ) ;
165        TabStop = TRUE ;
166        DefButton = TRUE ;
167    };
168    CancelButton PB_CANCEL
169    {
170        Pos = MAP_APPFONT ( 59 , 184 ) ;
171        Size = MAP_APPFONT ( 50 , 14 ) ;
172        TabStop = TRUE ;
173    };
174    HelpButton PB_HELP
175    {
176        Pos = MAP_APPFONT ( 115 , 184 ) ;
177        Size = MAP_APPFONT ( 50 , 14 ) ;
178        TabStop = TRUE ;
179    };
180
181};
182
183