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