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 _EXTENSIONS_DBP_DBPRESID_HRC_
25#include "dbpresid.hrc"
26#endif
27
28TabPage RID_PAGE_TABLESELECTION
29{
30    HelpID = "extensions:TabPage:RID_PAGE_TABLESELECTION";
31	SVLook = TRUE ;
32	Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
33	Text [ en-US ] = "Data";
34
35	FixedLine FL_DATA
36	{
37		Pos = MAP_APPFONT ( 4 , 3  ) ;
38		Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ;
39		Text [ en-US ]	= "Data";
40	};
41	FixedText FT_EXPLANATION
42	{
43		Pos = MAP_APPFONT ( 7 , 15  ) ;
44		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , WINDOW_SIZE_Y - 21 ) ;
45		WordBreak = TRUE;
46		Group = TRUE;
47		Text [ en-US ] = "Currently, the form the control belongs to is not (or not completely) bound to a data source.\n\nPlease choose a data source and a table.\n\n\nPlease note that the settings made on this page will take effect immediately upon leaving the page.";
48	};
49	FixedText FT_DATASOURCE
50	{
51		Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 15  ) ;
52		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , 8) ;
53		Group = TRUE;
54		Text [ en-US ] = "~Data source:";
55	};
56	ListBox LB_DATASOURCE
57	{
58	    HelpID = "extensions:ListBox:RID_PAGE_TABLESELECTION:LB_DATASOURCE";
59		Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 26  ) ;
60		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 27 , 14 ) ;
61		SVLook = TRUE ;
62		Border = TRUE ;
63		DropDown = TRUE ;
64		AutoHScroll = TRUE ;
65	};
66
67	PushButton PB_FORMDATASOURCE
68	{
69	    HelpID = "extensions:PushButton:RID_PAGE_TABLESELECTION:PB_FORMDATASOURCE";
70		Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 + WINDOW_HALF_SIZE_X - 24 , 25  ) ;
71		Size = MAP_APPFONT ( 14 , 14 ) ;
72		Text [ en-US ] = "~...";
73	};
74
75	FixedText FT_TABLE
76	{
77		Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 46 ) ;
78		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 14 , 8) ;
79		Group = TRUE;
80		Text [ en-US ] = "~Table / Query:";
81	};
82	ListBox LB_TABLE
83	{
84	    HelpID = "extensions:ListBox:RID_PAGE_TABLESELECTION:LB_TABLE";
85		Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 57  ) ;
86		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , WINDOW_SIZE_Y - 6 - 57 ) ;
87		SVLook = TRUE ;
88		Border = TRUE ;
89		Sort = TRUE;
90		AutoHScroll = TRUE ;
91	};
92
93    Image IMG_TABLE
94    {
95	    ImageBitmap = Bitmap { File = "sx03188.bmp"; };
96	    MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
97    };
98
99    Image IMG_TABLE_HC
100    {
101	    ImageBitmap = Bitmap { File = "sxh03188.bmp"; };
102	    MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
103    };
104
105    Image IMG_QUERY
106    {
107	    ImageBitmap = Bitmap { File = "sx03202.bmp"; };
108	    MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
109    };
110
111    Image IMG_QUERY_HC
112    {
113	    ImageBitmap = Bitmap { File = "sxh03202.bmp"; };
114	    MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
115    };
116
117};
118
119TabPage RID_PAGE_OPTION_DBFIELD
120{
121    HelpID = "extensions:TabPage:RID_PAGE_OPTION_DBFIELD";
122	SVLook = TRUE ;
123	Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
124	Text [ en-US ] = "Database Field";
125
126	FixedLine FL_DATABASEFIELD_EXPL
127	{
128		Pos = MAP_APPFONT ( 4 , 3  ) ;
129		Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ;
130	};
131	FixedText FT_DATABASEFIELD_EXPL
132	{
133		Pos = MAP_APPFONT ( 7 , 15  ) ;
134		Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ;
135		WordBreak = TRUE;
136	};
137	FixedText FT_DATABASEFIELD_QUEST
138	{
139		Pos = MAP_APPFONT ( 7 , 34  ) ;
140		Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ;
141		WordBreak = TRUE;
142		Text [ en-US ] = "Do you want to save the value in a database field?";
143	};
144	RadioButton RB_STOREINFIELD_YES
145	{
146	    HelpID = "extensions:RadioButton:RID_PAGE_OPTION_DBFIELD:RB_STOREINFIELD_YES";
147		Pos = MAP_APPFONT ( 7 , 53  ) ;
148		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 20, 10 ) ;
149		Group = TRUE;
150		TabStop = TRUE;
151		Text [ en-US ] = "~Yes, I want to save it in the following database field:";
152	};
153	ListBox LB_STOREINFIELD
154	{
155	    HelpID = "extensions:ListBox:RID_PAGE_OPTION_DBFIELD:LB_STOREINFIELD";
156		Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 23, 51 ) ;
157		Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 30, 14 ) ;
158		TabStop = TRUE;
159		SVLook = TRUE ;
160		Border = TRUE ;
161		DropDown = TRUE;
162		AutoHScroll = TRUE ;
163	};
164	RadioButton RB_STOREINFIELD_NO
165	{
166	    HelpID = "extensions:RadioButton:RID_PAGE_OPTION_DBFIELD:RB_STOREINFIELD_NO";
167		Pos = MAP_APPFONT ( 7 , 68 ) ;
168		Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 10 ) ;
169		TabStop = FALSE;
170		Text [ en-US ] = "~No, I only want to save the value in the form.";
171	};
172};
173
174TabPage RID_PAGE_FORM_DATASOURCE_STATUS
175{
176    HelpID = "extensions:TabPage:RID_PAGE_FORM_DATASOURCE_STATUS";
177	FixedLine FL_FORMSETINGS
178	{
179		Pos = MAP_APPFONT ( 4 , 3  ) ;
180		Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ;
181		Text [ en-US ] = "Form";
182	};
183	FixedText FT_FORMDATASOURCELABEL
184	{
185		Pos = MAP_APPFONT ( 7 , 15 ) ;
186		Size = MAP_APPFONT ( 60 , 8 ) ;
187		Text [ en-US ] = "Data source";
188	};
189	FixedText FT_FORMDATASOURCE
190	{
191		Pos = MAP_APPFONT ( 7 + 60 + 3 , 15 ) ;
192		Size = MAP_APPFONT ( WINDOW_SIZE_X / 2 - 80 - 3 , 19 ) ;
193		WordBreak = TRUE;
194	};
195
196	FixedText FT_FORMCONTENTTYPELABEL
197	{
198		Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3, 15 ) ;
199		Size = MAP_APPFONT ( 60 , 8 ) ;
200		Text [ en-US ] = "Content type";
201	};
202	FixedText FT_FORMCONTENTTYPE
203	{
204		Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3 + 60 , 15 ) ;
205		Size = MAP_APPFONT ( WINDOW_SIZE_X - ( WINDOW_SIZE_X / 2 + 3 + 60 ) - 7 , 8 ) ;
206	};
207
208	FixedText FT_FORMTABLELABEL
209	{
210		Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3, 26 ) ;
211		Size = MAP_APPFONT ( 60 , 8 ) ;
212		Text [ en-US ] = "Content";
213	};
214	FixedText FT_FORMTABLE
215	{
216		Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3 + 60 , 26 ) ;
217		Size = MAP_APPFONT ( WINDOW_SIZE_X - ( WINDOW_SIZE_X / 2 + 3 + 60 ) - 7 , 8 ) ;
218	};
219};
220
221String RID_STR_TYPE_TABLE
222{
223	Text [ en-US ] = "Table";
224};
225
226String RID_STR_TYPE_QUERY
227{
228	Text [ en-US ] = "Query";
229};
230
231String RID_STR_TYPE_COMMAND
232{
233	Text [ en-US ] = "SQL command";
234};
235
236