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_PARAMDIALOG_HRC_ 25cdf0e10cSrcweir#include "paramdialog.hrc" 26cdf0e10cSrcweir#endif 27cdf0e10cSrcweir#ifndef _DBU_DLG_HRC_ 28cdf0e10cSrcweir#include "dbu_dlg.hrc" 29cdf0e10cSrcweir#endif 30cdf0e10cSrcweir 31cdf0e10cSrcweir#define LIST_WIDTH 100 32cdf0e10cSrcweir#define LIST_HEIGHT 50 33cdf0e10cSrcweir 34cdf0e10cSrcweirModalDialog DLG_PARAMETERS 35cdf0e10cSrcweir{ 36cdf0e10cSrcweir HelpID = "dbaccess:ModalDialog:DLG_PARAMETERS"; 37cdf0e10cSrcweir OutputSize = TRUE ; 38cdf0e10cSrcweir SVLook = TRUE ; 39cdf0e10cSrcweir Size = MAP_APPFONT ( 6 + LIST_WIDTH + 3 + 6 + BUTTON_WIDTH + 6, 98 ) ; 40cdf0e10cSrcweir Moveable = TRUE ; 41cdf0e10cSrcweir Closeable = TRUE ; 42cdf0e10cSrcweir 43cdf0e10cSrcweir 44cdf0e10cSrcweir FixedLine FL_PARAMS 45cdf0e10cSrcweir { 46cdf0e10cSrcweir Pos = MAP_APPFONT ( 4 , 3 ) ; 47cdf0e10cSrcweir Size = MAP_APPFONT ( 3 + LIST_WIDTH + 3 , 8 ) ; 48cdf0e10cSrcweir Text [ en-US ] = "~Parameters"; 49cdf0e10cSrcweir }; 50cdf0e10cSrcweir ListBox LB_ALLPARAMS 51cdf0e10cSrcweir { 52cdf0e10cSrcweir HelpID = "dbaccess:ListBox:DLG_PARAMETERS:LB_ALLPARAMS"; 53cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 12 ) ; 54cdf0e10cSrcweir Size = MAP_APPFONT ( LIST_WIDTH , LIST_HEIGHT ) ; 55cdf0e10cSrcweir Border = TRUE; 56cdf0e10cSrcweir SVLook = TRUE; 57cdf0e10cSrcweir }; 58cdf0e10cSrcweir FixedText FT_VALUE 59cdf0e10cSrcweir { 60cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 12 + LIST_HEIGHT + 4 ) ; 61cdf0e10cSrcweir Size = MAP_APPFONT ( LIST_WIDTH , 8 ) ; 62cdf0e10cSrcweir Text [ en-US ] = "~Value"; 63cdf0e10cSrcweir }; 64cdf0e10cSrcweir Edit ET_PARAM 65cdf0e10cSrcweir { 66cdf0e10cSrcweir HelpID = "dbaccess:Edit:DLG_PARAMETERS:ET_PARAM"; 67cdf0e10cSrcweir Border = TRUE ; 68cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 12 + LIST_HEIGHT + 4 + 8 + 3 ) ; 69cdf0e10cSrcweir Size = MAP_APPFONT ( LIST_WIDTH , 12 ) ; 70cdf0e10cSrcweir TabStop = TRUE ; 71cdf0e10cSrcweir }; 72cdf0e10cSrcweir PushButton BT_TRAVELNEXT 73cdf0e10cSrcweir { 74cdf0e10cSrcweir HelpID = "dbaccess:PushButton:DLG_PARAMETERS:BT_TRAVELNEXT"; 75cdf0e10cSrcweir Pos = MAP_APPFONT ( 4 + 3 + LIST_WIDTH + 3 + 6 , 12 + LIST_HEIGHT + 4 + 8 + 3 + ( 12 - BUTTON_HEIGHT ) / 2) ; 76cdf0e10cSrcweir Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ; 77cdf0e10cSrcweir TabStop = TRUE ; 78cdf0e10cSrcweir Text [ en-US ] = "~Next"; 79cdf0e10cSrcweir }; 80cdf0e10cSrcweir OKButton BT_OK 81cdf0e10cSrcweir { 82cdf0e10cSrcweir Pos = MAP_APPFONT ( 4 + 3 + LIST_WIDTH + 3 + 6 , 3 ) ; 83cdf0e10cSrcweir Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ; 84cdf0e10cSrcweir TabStop = TRUE ; 85cdf0e10cSrcweir DefButton = TRUE ; 86cdf0e10cSrcweir }; 87cdf0e10cSrcweir CancelButton BT_CANCEL 88cdf0e10cSrcweir { 89cdf0e10cSrcweir Pos = MAP_APPFONT ( 4 + 3 + LIST_WIDTH + 3 + 6 , 3 + BUTTON_HEIGHT + 3 ) ; 90cdf0e10cSrcweir Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ; 91cdf0e10cSrcweir TabStop = TRUE ; 92cdf0e10cSrcweir }; 93cdf0e10cSrcweir Text [ en-US ] = "Parameter Input" ; 94cdf0e10cSrcweir 95cdf0e10cSrcweir String STR_COULD_NOT_CONVERT_PARAM 96cdf0e10cSrcweir { 97cdf0e10cSrcweir Text [ en-US ] = "The entry could not be converted to a valid value for the \"$name$\"column"; 98cdf0e10cSrcweir }; 99cdf0e10cSrcweir}; 100cdf0e10cSrcweir 101