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