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#include "sc.hrc" 25#include "dapitype.hrc" 26 27 28ModalDialog RID_SCDLG_DAPITYPE 29{ 30 OutputSize = TRUE ; 31 HelpId = HID_DATAPILOT_TYPE ; 32 SVLook = TRUE ; 33 Size = MAP_APPFONT ( 241, 63 ) ; 34 Moveable = TRUE ; 35 Closeable = FALSE ; 36 OKButton BTN_OK 37 { 38 Pos = MAP_APPFONT ( 185, 6 ) ; 39 Size = MAP_APPFONT ( 50, 14 ) ; 40 TabStop = TRUE ; 41 DefButton = TRUE ; 42 }; 43 CancelButton BTN_CANCEL 44 { 45 Pos = MAP_APPFONT ( 185, 23 ) ; 46 Size = MAP_APPFONT ( 50, 14 ) ; 47 TabStop = TRUE ; 48 }; 49 HelpButton BTN_HELP 50 { 51 Pos = MAP_APPFONT ( 185, 43 ) ; 52 Size = MAP_APPFONT ( 50, 14 ) ; 53 TabStop = TRUE ; 54 }; 55 RadioButton BTN_SELECTION 56 { 57 HelpID = "sc:RadioButton:RID_SCDLG_DAPITYPE:BTN_SELECTION" ; 58 Pos = MAP_APPFONT ( 12, 14 ) ; 59 Size = MAP_APPFONT ( 164, 10 ) ; 60 TabStop = TRUE ; 61 Text [ en-US ] = "~Current selection" ; 62 }; 63 RadioButton BTN_DATABASE 64 { 65 HelpID = "sc:RadioButton:RID_SCDLG_DAPITYPE:BTN_DATABASE" ; 66 Pos = MAP_APPFONT ( 12, 28 ) ; 67 Size = MAP_APPFONT ( 164, 10 ) ; 68 TabStop = TRUE ; 69 Text [ en-US ] = "~Data source registered in %PRODUCTNAME" ; 70 }; 71 RadioButton BTN_EXTERNAL 72 { 73 HelpID = "sc:RadioButton:RID_SCDLG_DAPITYPE:BTN_EXTERNAL" ; 74 Pos = MAP_APPFONT ( 12, 42 ) ; 75 Size = MAP_APPFONT ( 164, 10 ) ; 76 TabStop = TRUE ; 77 Text [ en-US ] = "~External source/interface" ; 78 }; 79 FixedLine FL_FRAME 80 { 81 Pos = MAP_APPFONT ( 6, 3 ) ; 82 Size = MAP_APPFONT ( 173, 8 ) ; 83 Text [ en-US ] = "Selection" ; 84 }; 85 Text [ en-US ] = "Select Source" ; 86}; 87 88 89//------------------------------------------------------------------------ 90 91 92ModalDialog RID_SCDLG_DAPISERVICE 93{ 94 OutputSize = TRUE ; 95 HelpId = HID_DATAPILOT_SERVICE ; 96 SVLook = TRUE ; 97 Size = MAP_APPFONT ( 241, 94 ) ; 98 Moveable = TRUE ; 99 Closeable = FALSE ; 100 OKButton BTN_OK 101 { 102 Pos = MAP_APPFONT ( 185, 6 ) ; 103 Size = MAP_APPFONT ( 50, 14 ) ; 104 TabStop = TRUE ; 105 DefButton = TRUE ; 106 }; 107 CancelButton BTN_CANCEL 108 { 109 Pos = MAP_APPFONT ( 185, 23 ) ; 110 Size = MAP_APPFONT ( 50, 14 ) ; 111 TabStop = TRUE ; 112 }; 113 HelpButton BTN_HELP 114 { 115 Pos = MAP_APPFONT ( 185, 43 ) ; 116 Size = MAP_APPFONT ( 50, 14 ) ; 117 TabStop = TRUE ; 118 }; 119 FixedText FT_SERVICE 120 { 121 Pos = MAP_APPFONT ( 12, 14 ) ; 122 Size = MAP_APPFONT ( 40, 8 ) ; 123 Text [ en-US ] = "~Service" ; 124 }; 125 ListBox LB_SERVICE 126 { 127 HelpID = "sc:ListBox:RID_SCDLG_DAPISERVICE:LB_SERVICE" ; 128 Border = TRUE ; 129 Pos = MAP_APPFONT ( 56, 12 ) ; 130 Size = MAP_APPFONT ( 120, 80 ) ; 131 TabStop = TRUE ; 132 DropDown = TRUE ; 133 }; 134 FixedText FT_SOURCE 135 { 136 Pos = MAP_APPFONT ( 12, 30 ) ; 137 Size = MAP_APPFONT ( 40, 8 ) ; 138 Text [ en-US ] = "So~urce" ; 139 }; 140 Edit ED_SOURCE 141 { 142 HelpID = "sc:Edit:RID_SCDLG_DAPISERVICE:ED_SOURCE" ; 143 Border = TRUE ; 144 Pos = MAP_APPFONT ( 56, 28 ) ; 145 Size = MAP_APPFONT ( 120, 12 ) ; 146 TabStop = TRUE ; 147 }; 148 FixedText FT_NAME 149 { 150 Pos = MAP_APPFONT ( 12, 46 ) ; 151 Size = MAP_APPFONT ( 40, 8 ) ; 152 Text [ en-US ] = "~Name" ; 153 }; 154 Edit ED_NAME 155 { 156 HelpID = "sc:Edit:RID_SCDLG_DAPISERVICE:ED_NAME" ; 157 Border = TRUE ; 158 Pos = MAP_APPFONT ( 56, 44 ) ; 159 Size = MAP_APPFONT ( 120, 12 ) ; 160 TabStop = TRUE ; 161 }; 162 FixedText FT_USER 163 { 164 Pos = MAP_APPFONT ( 12, 62 ) ; 165 Size = MAP_APPFONT ( 40, 8 ) ; 166 Text [ en-US ] = "Us~er" ; 167 }; 168 Edit ED_USER 169 { 170 HelpID = "sc:Edit:RID_SCDLG_DAPISERVICE:ED_USER" ; 171 Border = TRUE ; 172 Pos = MAP_APPFONT ( 56, 60 ) ; 173 Size = MAP_APPFONT ( 120, 12 ) ; 174 TabStop = TRUE ; 175 }; 176 FixedText FT_PASSWD 177 { 178 Pos = MAP_APPFONT ( 12, 78 ) ; 179 Size = MAP_APPFONT ( 40, 8 ) ; 180 Text [ en-US ] = "~Password" ; 181 }; 182 Edit ED_PASSWD 183 { 184 HelpID = "sc:Edit:RID_SCDLG_DAPISERVICE:ED_PASSWD" ; 185 Border = TRUE ; 186 Pos = MAP_APPFONT ( 56, 76 ) ; 187 Size = MAP_APPFONT ( 120, 12 ) ; 188 TabStop = TRUE ; 189 PassWord = TRUE ; 190 }; 191 FixedLine FL_FRAME 192 { 193 Pos = MAP_APPFONT ( 6, 3 ) ; 194 Size = MAP_APPFONT ( 173, 8 ) ; 195 Text [ en-US ] = "Selection" ; 196 }; 197 Text [ en-US ] = "External Source" ; 198}; 199 200 201//------------------------------------------------------------------------ 202 203 204ModalDialog RID_SCDLG_DAPIDATA 205{ 206 OutputSize = TRUE ; 207 HelpId = HID_DATAPILOT_DATABASE ; 208 SVLook = TRUE ; 209 Size = MAP_APPFONT ( 241, 63 ) ; 210 Moveable = TRUE ; 211 Closeable = FALSE ; 212 OKButton BTN_OK 213 { 214 Pos = MAP_APPFONT ( 185, 6 ) ; 215 Size = MAP_APPFONT ( 50, 14 ) ; 216 TabStop = TRUE ; 217 DefButton = TRUE ; 218 }; 219 CancelButton BTN_CANCEL 220 { 221 Pos = MAP_APPFONT ( 185, 23 ) ; 222 Size = MAP_APPFONT ( 50, 14 ) ; 223 TabStop = TRUE ; 224 }; 225 HelpButton BTN_HELP 226 { 227 Pos = MAP_APPFONT ( 185, 43 ) ; 228 Size = MAP_APPFONT ( 50, 14 ) ; 229 TabStop = TRUE ; 230 }; 231 232 FixedText FT_DATABASE 233 { 234 Pos = MAP_APPFONT ( 12, 14 ) ; 235 Size = MAP_APPFONT ( 52, 8 ) ; 236 Text [ en-US ] = "~Database" ; 237 }; 238 ListBox LB_DATABASE 239 { 240 HelpID = "sc:ListBox:RID_SCDLG_DAPIDATA:LB_DATABASE" ; 241 Border = TRUE ; 242 Pos = MAP_APPFONT ( 66, 12 ) ; 243 Size = MAP_APPFONT ( 110, 80 ) ; 244 TabStop = TRUE ; 245 DropDown = TRUE ; 246 }; 247 248 FixedText FT_OBJECT 249 { 250 Pos = MAP_APPFONT ( 12, 46 ) ; 251 Size = MAP_APPFONT ( 52, 8 ) ; 252 Text [ en-US ] = "Data so~urce" ; 253 }; 254 ComboBox CB_OBJECT 255 { 256 HelpID = "sc:ComboBox:RID_SCDLG_DAPIDATA:CB_OBJECT" ; 257 Border = TRUE ; 258 Pos = MAP_APPFONT ( 66, 44 ) ; 259 Size = MAP_APPFONT ( 110, 80 ) ; 260 TabStop = TRUE ; 261 DropDown = TRUE ; 262 }; 263 264 FixedText FT_OBJTYPE 265 { 266 Pos = MAP_APPFONT ( 12, 30 ) ; 267 Size = MAP_APPFONT ( 52, 8 ) ; 268 Text [ en-US ] = "~Type" ; 269 }; 270 ListBox LB_OBJTYPE 271 { 272 HelpID = "sc:ListBox:RID_SCDLG_DAPIDATA:LB_OBJTYPE" ; 273 Border = TRUE ; 274 Pos = MAP_APPFONT ( 66, 28 ) ; 275 Size = MAP_APPFONT ( 110, 80 ) ; 276 TabStop = TRUE ; 277 DropDown = TRUE ; 278 StringList [ en-US ] = 279 { 280 < "Table" ; Default ; > ; 281 < "Query" ; Default ; > ; 282 < "Sql" ; Default ; > ; 283 < "Sql [Native]" ; Default ; > ; 284 }; 285 }; 286 287 FixedLine FL_FRAME 288 { 289 Pos = MAP_APPFONT ( 6, 3 ) ; 290 Size = MAP_APPFONT ( 173, 8 ) ; 291 Text [ en-US ] = "Selection" ; 292 }; 293 Text [ en-US ] = "Select Data Source" ; 294}; 295 296// ********************************************************************** EOF 297