xref: /trunk/main/dbaccess/source/ui/dlg/dbadmin.src (revision 229c356c)
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 _DBA_DBACCESS_HELPID_HRC_
25#include "dbaccess_helpid.hrc"
26#endif
27#ifndef _DBAUI_AUTOCONTROLS_HRC_
28#include "AutoControls.hrc"
29#endif
30#ifndef _DBU_DLG_HRC_
31#include "dbu_dlg.hrc"
32#endif
33#ifndef _DBAUI_DBADMIN_HRC_
34#include "dbadmin.hrc"
35#endif
36#ifndef DBACCESS_UI_BROWSER_ID_HXX
37#include "browserids.hxx"
38#endif
39#ifndef DBAUI_ADABASPAGE_HRC
40#include "AdabasPage.hrc"
41#endif
42#include "admincontrols.hrc"
43
44//-------------------------------------------------------------------------
45
46#define AUTO_USECATALOG(AUTO_Y)                                 \
47	CheckBox CB_USECATALOG										\
48	{															\
49		Pos		= MAP_APPFONT ( 6, AUTO_Y) ;					\
50		Size	= MAP_APPFONT ( PAGE_X -12, CHECKBOX_HEIGHT ) ;   \
51		TabStop = TRUE ;										\
52		HelpId = HID_DSADMIN_USECATALOG;						\
53		Text [ en-US ] = "Use catalog for file-based databases" ;	\
54	};
55
56//-------------------------------------------------------------------------
57
58#define AUTO_FIXEDLINE_CONNSETTINGS(AUTO_Y) \
59	FixedLine FL_SEPARATOR1																				\
60	{																									\
61		Pos = MAP_APPFONT ( 4, AUTO_Y ) ;																\
62		Size = MAP_APPFONT ( PAGE_X - 8, FIXEDTEXT_HEIGHT ) ;											\
63		Text [ en-US ] = "Connection Settings" ;														    \
64	};																									\
65
66#define AUTO_HOST_AND_PORT(AUTO_Y)																		\
67	FixedText FT_HOSTNAME																				\
68	{																									\
69		Pos = MAP_APPFONT ( 6, AUTO_Y + 2 ) ;						                                    \
70		Size = MAP_APPFONT ( EDIT_X - 7, FIXEDTEXT_HEIGHT ) ;											\
71		Text [ en-US ] = "~Host name" ;																    \
72	};																									\
73	Edit ET_HOSTNAME																					\
74	{																									\
75		TabStop = TRUE ;																				\
76		Border = TRUE ;																					\
77		HelpId = HID_DSADMIN_HOSTNAME;																	\
78		Pos = MAP_APPFONT ( EDIT_X, AUTO_Y ) ;				                                            \
79		Size = MAP_APPFONT ( 97, EDIT_HEIGHT ) ;														\
80	};																									\
81																										\
82	FixedText FT_PORTNUMBER																				\
83	{																									\
84		Pos = MAP_APPFONT ( 6, AUTO_Y + UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + 2 ) ;	                \
85		Size = MAP_APPFONT ( EDIT_X - 7, FIXEDTEXT_HEIGHT ) ;											\
86		Text [ en-US ] = "~Port number" ;															        \
87	};																									\
88	NumericField NF_PORTNUMBER																			\
89	{																									\
90		TabStop = TRUE ;																				\
91		Border = TRUE ;																					\
92		HelpId = HID_DSADMIN_PORTNUMBER;																\
93		NoThousandSep = TRUE ;                                                                           \
94		Pos = MAP_APPFONT ( EDIT_X, AUTO_Y +UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT ) ;                  \
95		Size = MAP_APPFONT ( 97, EDIT_HEIGHT ) ;														\
96	};
97//-------------------------------------------------------------------------
98
99TabDialog DLG_DATABASE_ADMINISTRATION
100{
101	OutputSize = TRUE ;
102	SVLook = TRUE ;
103	Moveable = TRUE ;
104	Closeable = TRUE ;
105	Hide = TRUE ;
106	HelpId = HID_DSADMIN_DIALOG;
107
108	TabControl 1
109	{
110		OutputSize = TRUE ;
111		HelpId = HID_DSADMIN_TABCONTROL;
112	};
113
114	//.........................................................................
115	String STR_PAGETITLE_GENERAL
116	{
117		Text [ en-US ] = "Advanced Properties" ;
118	};
119	String STR_PAGETITLE_ADVANCED
120	{
121		Text [ en-US ] = "Additional Settings" ;
122	};
123	String STR_PAGETITLE_CONNECTION
124	{
125		Text [ en-US ] = "Connection settings" ;
126	};
127
128	Text [ en-US ] = "Database properties" ;
129};
130
131// -----------------------------------------------------------------------------
132
133ModalDialog DLG_DATABASE_TYPE_CHANGE
134{
135	OutputSize = TRUE ;
136	Moveable = TRUE ;
137	Closeable = TRUE ;
138	Hide = TRUE ;
139	HelpId = HID_DSADMIN_TYPE_DIALOG;
140
141	TabControl 1
142	{
143		OutputSize = TRUE ;
144		HelpId = HID_DSADMIN_TABCONTROL;
145	};
146	Text [ en-US ] = "Database properties" ;
147};
148
149//-------------------------------------------------------------------------
150
151TabPage PAGE_GENERAL
152{
153	SVLook = TRUE ;
154	Size = MAP_APPFONT ( WIZARD_PAGE_X, WIZARD_PAGE_Y ) ;
155	Hide = TRUE ;
156	HelpId = HID_DSADMIN_PAGE_GENERAL;
157
158
159	FixedText FT_GENERALHEADERTEXT
160	{
161		Pos = MAP_APPFONT ( START_X, 8 ) ;
162		Size = MAP_APPFONT ( (WIZARD_PAGE_X - START_X) - 12, 2 * FIXEDTEXT_HEIGHT ) ;
163		Text [ en-US ] = "Welcome to the %PRODUCTNAME Database Wizard" ;
164		WordBreak = TRUE ;
165	};
166
167	FixedText FT_GENERALHELPTEXT
168	{
169		Pos = MAP_APPFONT (START_X, 27 ) ;
170		Size = MAP_APPFONT ( WIZARD_PAGE_X - START_X - 6, 5* FIXEDTEXT_HEIGHT ) ;
171		Text [ en-US ] = "Use the Database Wizard to create a new database, open an existing database file, or connect to a database stored on a server." ;
172		WordBreak = TRUE ;
173	};
174
175	FixedText FT_DATASOURCEHEADER
176	{
177		Pos = MAP_APPFONT ( START_X, 73 ) ;
178		Size = MAP_APPFONT ( WIZARD_PAGE_X - 12, FIXEDTEXT_HEIGHT ) ;
179		Text [ en-US ] = "What do you want to do?" ;
180	};
181
182	RadioButton RB_CREATEDBDATABASE
183	{
184		HelpId = HID_PAGE_DBWIZARD_GENERAL_RB_CREATEDBDATABASE ;
185		Pos = MAP_APPFONT (START_X + 6, 85 ) ;
186		Size = MAP_APPFONT ( 205, 10 ) ;
187		Group = TRUE ;
188		Text [ en-US ] = "Create a n~ew database" ;
189	};
190
191	RadioButton RB_OPENEXISTINGDOC
192	{
193		HelpID = "dbaccess:RadioButton:PAGE_GENERAL:RB_OPENEXISTINGDOC" ;
194		Pos = MAP_APPFONT (START_X + 6, 97 ) ;
195		Size = MAP_APPFONT ( 206, 8 ) ;
196		Text [ en-US ] = "Open an existing database ~file" ;
197	};
198
199	FixedText FT_DOCLISTLABEL
200	{
201		Pos = MAP_APPFONT ( START_X + INDENTED_X + INDENT_BELOW_RADIO, 110 ) ;
202		Size = MAP_APPFONT ( 120, 8 ) ;
203		Text [ en-US ] = "Recently used" ;
204	};
205
206	ListBox LB_DOCUMENTLIST
207	{
208		HelpID = "dbaccess:ListBox:PAGE_GENERAL:LB_DOCUMENTLIST" ;
209		Pos = MAP_APPFONT ( START_X + INDENTED_X + INDENT_BELOW_RADIO, 121 ) ;
210		Size = MAP_APPFONT ( 120, 14 ) ;
211		DropDown = TRUE ;
212		Border = TRUE ;
213	};
214
215	PushButton PB_OPENDOCUMENT
216	{
217		HelpID = "dbaccess:PushButton:PAGE_GENERAL:PB_OPENDOCUMENT" ;
218		Pos = MAP_APPFONT ( START_X + INDENTED_X + INDENT_BELOW_RADIO, 139 ) ;
219		Size = MAP_APPFONT ( 50, 16 ) ;
220		OutputSize = TRUE ;
221		TabStop = TRUE ;
222	};
223
224	RadioButton RB_GETEXISTINGDATABASE
225	{
226		HelpId = HID_PAGE_DBWIZARD_GENERAL_RB_GETEXISTINGDATABASE;
227		Pos = MAP_APPFONT (START_X + 6, 159 ) ;
228		Size = MAP_APPFONT ( 206, 8 ) ;
229		Text [ en-US ] = "Connect to an e~xisting database" ;
230	};
231
232	FixedText FT_DATASOURCETYPE_PRE
233	{
234		Pos = MAP_APPFONT ( 6, UNRELATED_CONTROLS ) ;
235		Size = MAP_APPFONT ( WIZARD_PAGE_X - 12, 3*FIXEDTEXT_HEIGHT ) ;
236		WordBreak = TRUE ;
237		Text [ en-US ] = "Select the type of database to which you want to establish a connection." ;
238	};
239
240	FixedText FT_DATATYPE
241	{
242		Pos = MAP_APPFONT ( 6, 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS) ;
243		Size = MAP_APPFONT ( 80, FIXEDTEXT_HEIGHT ) ;
244		Text [ en-US ] = "Database ~type " ;
245	};
246
247	ListBox LB_DATATYPE
248	{
249		HelpId = HID_DSADMIN_DSTYPE;
250		Pos = MAP_APPFONT ( 90, 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS -2 ) ;
251		Size = MAP_APPFONT ( 120, 120 ) ;
252		Border = TRUE ;
253		TabStop = TRUE ;
254		DropDown = TRUE ;
255		Sort = FALSE ;
256	};
257
258	FixedText FT_DATATYPEAPPENDIX
259	{
260		Pos = MAP_APPFONT ( 90, 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS -2 + 72) ;
261		Size = MAP_APPFONT ( 60, 8 ) ;
262		Text [ en-US ] = "Database" ;
263	};
264
265	FixedText FT_DATASOURCETYPE_POST
266	{
267		Pos = MAP_APPFONT ( 6, 4*UNRELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) ;
268		Size = MAP_APPFONT ( WIZARD_PAGE_X - 12, 5*FIXEDTEXT_HEIGHT ) ;
269		WordBreak = TRUE ;
270		Text [ en-US ] = "On the following pages, you can make detailed settings for the connection.\n\nThe new settings you make will overwrite your existing settings." ;
271	};
272
273	FixedText FT_SPECIAL_MESSAGE
274	{
275		Pos = MAP_APPFONT ( 6, 4*UNRELATED_CONTROLS + 9*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS ) ;
276		Size = MAP_APPFONT ( WIZARD_PAGE_X - 12, 3*FIXEDTEXT_HEIGHT ) ;
277		WordBreak = TRUE ;
278		HelpId = HID_DSADMIN_SPECIAL_MESSAGE;
279	};
280
281	String STR_MYSQLENTRY
282	{
283		Text [ en-US ] = "MySQL" ;
284	};
285
286	String STR_PARENTTITLE
287	{
288		Text [ en-US ] = "Data Source Properties: #" ;
289	};
290	String STR_COULDNOTLOAD_ODBCLIB
291	{
292		Text [ en-US ] = "Could not load the program library #lib# or it is corrupted. The ODBC data source selection is not available." ;
293	};
294	String STR_UNSUPPORTED_DATASOURCE_TYPE
295	{
296		Text [ en-US ] = "This kind of data source is not supported on this platform.\nYou are allowed to change the settings, but you probably will not be able to connect to the database." ;
297	};
298	Text [ en-US ] = "General" ;
299};
300
301//.........................................................................
302
303TabPage PAGE_DBASE
304{
305	SVLook = TRUE ;
306	Hide = TRUE ;
307	Pos = MAP_APPFONT ( 0, 0 ) ;
308	Size = MAP_APPFONT ( PAGE_X, PAGE_Y ) ;
309	HelpId = HID_DSADMIN_PAGE_DBASE;
310
311	AUTO_CHARSET(UNRELATED_CONTROLS,PAGE_X)
312
313	FixedLine FL_SEPARATOR1
314	{
315		Pos = MAP_APPFONT ( 4, 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT) ;
316		Size = MAP_APPFONT ( PAGE_X - 8, FIXEDTEXT_HEIGHT ) ;
317		Text [ en-US ] = "Optional settings" ;
318	};
319
320	CheckBox CB_SHOWDELETEDROWS
321	{
322		Pos = MAP_APPFONT ( 6, 2*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT) ;
323		Size = MAP_APPFONT ( 200, CHECKBOX_HEIGHT ) ;
324		TabStop = TRUE ;
325		HelpId = HID_DSADMIN_SHOWDELETED;
326		Text [ en-US ] = "Display deleted records as well" ;
327	};
328
329	FixedText FT_SPECIAL_MESSAGE
330	{
331		Hide = TRUE ;
332		WordBreak = TRUE ;
333		Pos = MAP_APPFONT ( 6, 3*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT) ;
334		Size = MAP_APPFONT ( PAGE_X - 12, 2*FIXEDTEXT_HEIGHT ) ;
335		Text [ en-US ] = "Note: When deleted, and thus inactive, records are displayed, you will not be able to delete records from the data source." ;
336	};
337
338	PushButton PB_INDICIES
339	{
340		Pos = MAP_APPFONT ( PAGE_X - BUTTON_WIDTH - UNRELATED_CONTROLS, PAGE_Y - BUTTON_HEIGHT - UNRELATED_CONTROLS) ;
341		Size = MAP_APPFONT ( BUTTON_WIDTH, BUTTON_HEIGHT ) ;
342		TabStop = TRUE ;
343		HelpId = HID_DSADMIN_DBASE_INDICIES;
344		Text [ en-US ] = "Indexes..." ;
345	};
346};
347
348//.........................................................................
349
350TabPage PAGE_ADO
351{
352	SVLook = TRUE ;
353	Pos = MAP_APPFONT ( 0, 0 ) ;
354	Size = MAP_APPFONT ( PAGE_X, PAGE_Y ) ;
355	Hide = TRUE ;
356	HelpId = HID_DSADMIN_PAGE_ADO;
357	AUTO_CHARSET(UNRELATED_CONTROLS,PAGE_X)
358};
359
360//.........................................................................
361
362TabPage PAGE_ODBC
363{
364	SVLook = TRUE ;
365	Pos = MAP_APPFONT ( 0, 0 ) ;
366	Size = MAP_APPFONT ( PAGE_X, PAGE_Y ) ;
367	Hide = TRUE ;
368	HelpId = HID_DSADMIN_PAGE_ODBC;
369
370	AUTO_CHARSET(UNRELATED_CONTROLS,PAGE_X)
371	FixedLine FL_SEPARATOR1
372	{
373		Pos = MAP_APPFONT ( 4, 2*UNRELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) ;
374		Size = MAP_APPFONT ( PAGE_X - 8, FIXEDTEXT_HEIGHT ) ;
375		Text [ en-US ] = "Optional Settings" ;
376	};
377
378	FixedText FT_OPTIONS
379	{
380		Pos = MAP_APPFONT ( 6, 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS) ;
381		Size = MAP_APPFONT ( EDIT_X - 7, FIXEDTEXT_HEIGHT ) ;
382		Text [ en-US ] = "ODBC ~options" ;
383	};
384	Edit ET_OPTIONS
385	{
386		Border = TRUE ;
387		Pos = MAP_APPFONT ( EDIT_X, 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS -1 ) ;
388		Size = MAP_APPFONT ( 130, EDIT_HEIGHT ) ;
389		TabStop = TRUE ;
390		HelpId = HID_DSADMIN_ODBC_OPTIONS;
391	};
392
393	AUTO_USECATALOG( 3*UNRELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS )
394};
395
396TabPage PAGE_ADABAS
397{
398	SVLook = TRUE ;
399	Pos = MAP_APPFONT ( 0, 0 ) ;
400	Size = MAP_APPFONT ( PAGE_X, PAGE_Y ) ;
401	Hide = TRUE ;
402	HelpId = HID_DSADMIN_PAGE_ADABAS;
403
404	FixedLine FL_SEPARATOR1
405	{
406		Pos = MAP_APPFONT ( 4, UNRELATED_CONTROLS ) ;
407		Size = MAP_APPFONT ( PAGE_X - 8, FIXEDTEXT_HEIGHT ) ;
408		Text [ en-US ] = "Connection Settings" ;
409	};
410
411	FixedText FT_HOSTNAME
412	{
413		Pos = MAP_APPFONT ( 6, UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT) ;
414		Size = MAP_APPFONT ( EDIT_X - 7, FIXEDTEXT_HEIGHT ) ;
415		Text [ en-US ] = "~Host name" ;
416	};
417	Edit ET_HOSTNAME
418	{
419		HelpID = "dbaccess:Edit:PAGE_ADABAS:ET_HOSTNAME" ;
420		TabStop = TRUE ;
421		Border = TRUE ;
422
423		Pos = MAP_APPFONT ( EDIT_X, UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT-1 ) ;
424		Size = MAP_APPFONT ( 105, EDIT_HEIGHT ) ;
425	};
426
427	FixedText FT_CACHE_SIZE
428	{
429		Pos = MAP_APPFONT ( 6, 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT ) ;
430		Size = MAP_APPFONT ( EDIT_X - 7, FIXEDTEXT_HEIGHT ) ;
431		Text [ en-US ] = "Data ~buffer size (MB)" ;
432	};
433	NumericField NF_CACHE_SIZE
434	{
435		HelpID = "dbaccess:NumericField:PAGE_ADABAS:NF_CACHE_SIZE" ;
436		Pos = MAP_APPFONT ( EDIT_X, 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT -1 ) ;
437		Size = MAP_APPFONT ( 40, EDIT_HEIGHT ) ;
438		Border = TRUE ;
439		TabStop = TRUE ;
440		Spin = TRUE ;
441		SpinSize = 1;
442		StrictFormat = TRUE ;
443	};
444
445	FixedText FT_DATA_INCREMENT
446	{
447		Pos = MAP_APPFONT ( 6, 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT ) ;
448		Size = MAP_APPFONT ( EDIT_X - 7, FIXEDTEXT_HEIGHT ) ;
449		Text [ en-US ] = "~Data increment (MB)" ;
450	};
451	NumericField NF_DATA_INCREMENT
452	{
453		HelpID = "dbaccess:NumericField:PAGE_ADABAS:NF_DATA_INCREMENT" ;
454		Pos = MAP_APPFONT ( EDIT_X, 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -1 ) ;
455		Size = MAP_APPFONT ( 40, EDIT_HEIGHT ) ;
456		Border = TRUE ;
457		TabStop = TRUE ;
458		Spin = TRUE ;
459		SpinSize = 1;
460		StrictFormat = TRUE ;
461	};
462	FixedLine FL_SEPARATOR2
463	{
464		Pos = MAP_APPFONT ( 6, 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT ) ;
465		Size = MAP_APPFONT ( 248, FIXEDTEXT_HEIGHT ) ;
466		Text [ en-US ] = "Administration" ;
467	};
468	FixedText FT_CTRLUSERNAME
469	{
470		Pos = MAP_APPFONT ( 6, 4*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT ) ;
471		Size = MAP_APPFONT ( EDIT_X - 7, FIXEDTEXT_HEIGHT ) ;
472		Text [ en-US ] = "Control ~user name" ;
473	};
474	Edit ET_CTRLUSERNAME
475	{
476		HelpID = "dbaccess:Edit:PAGE_ADABAS:ET_CTRLUSERNAME" ;
477		Border = TRUE ;
478		Pos = MAP_APPFONT ( EDIT_X, 4*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT-1 ) ;
479		Size = MAP_APPFONT ( 105, EDIT_HEIGHT ) ;
480		TabStop = TRUE ;
481	};
482	FixedText FT_CTRLPASSWORD
483	{
484		Pos = MAP_APPFONT ( 6, 5*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 6*FIXEDTEXT_HEIGHT ) ;
485		Size = MAP_APPFONT ( EDIT_X - 7, FIXEDTEXT_HEIGHT ) ;
486		Text [ en-US ] = "Control ~password" ;
487	};
488	Edit ET_CTRLPASSWORD
489	{
490		HelpID = "dbaccess:Edit:PAGE_ADABAS:ET_CTRLPASSWORD" ;
491		Border = TRUE ;
492		Pos = MAP_APPFONT ( EDIT_X, 5*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 6*FIXEDTEXT_HEIGHT-1 ) ;
493		Size = MAP_APPFONT ( 105, EDIT_HEIGHT) ;
494		TabStop = TRUE ;
495		PassWord = TRUE ;
496	};
497
498	CheckBox CB_SHUTDB
499	{
500		HelpID = "dbaccess:CheckBox:PAGE_ADABAS:CB_SHUTDB" ;
501		Pos = MAP_APPFONT ( 6, 6*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 7*FIXEDTEXT_HEIGHT ) ;
502		Size = MAP_APPFONT ( 248, CHECKBOX_HEIGHT ) ;
503		Text [ en-US ] = "~Shut down service when closing %PRODUCTNAME" ;
504	};
505
506	PushButton PB_STAT
507	{
508		HelpID = "dbaccess:PushButton:PAGE_ADABAS:PB_STAT" ;
509		Pos = MAP_APPFONT ( PAGE_X - BUTTON_WIDTH - UNRELATED_CONTROLS, PAGE_Y - BUTTON_HEIGHT - UNRELATED_CONTROLS ) ;
510		Size = MAP_APPFONT ( BUTTON_WIDTH, BUTTON_HEIGHT ) ;
511		Text [ en-US ] = "E~xtended..." ;
512	};
513
514	AUTO_CHARSET( 7*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 7*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT, PAGE_X )
515};
516
517//.........................................................................
518#define MYSQL_YDIST 53
519#define MYSQL_FL_Y 8
520#define MYSQL_DRIVERCLASS_Y 8
521
522TabPage PAGE_MYSQL_ODBC
523{
524	HelpID = "dbaccess:TabPage:PAGE_MYSQL_ODBC" ;
525	SVLook = TRUE ;
526	Pos = MAP_APPFONT ( 0, 0 ) ;
527	Size = MAP_APPFONT ( PAGE_X, PAGE_Y ) ;
528	Hide = TRUE ;
529
530	AUTO_CHARSET( UNRELATED_CONTROLS, PAGE_X )
531};
532
533TabPage PAGE_MYSQL_JDBC
534{
535	HelpID = "dbaccess:TabPage:PAGE_MYSQL_JDBC" ;
536	SVLook = TRUE ;
537	Pos = MAP_APPFONT ( 0, 0 ) ;
538	Size = MAP_APPFONT ( PAGE_X, PAGE_Y ) ;
539	Hide = TRUE ;
540
541	AUTO_FIXEDLINE_CONNSETTINGS( UNRELATED_CONTROLS )
542	AUTO_HOST_AND_PORT( UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT )
543	AUTO_SOCKETCONTROLGROUP(3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT)
544
545	FixedText FT_JDBCDRIVERCLASS
546	{
547		Pos = MAP_APPFONT ( 6, 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT) ;
548		Size = MAP_APPFONT ( EDIT_X - 7, FIXEDTEXT_HEIGHT ) ;
549		Text [ en-US ] = "MySQL JDBC d~river class" ;
550	};
551	Edit ET_JDBCDRIVERCLASS
552	{
553		HelpID = "dbaccess:Edit:PAGE_MYSQL_JDBC:ET_JDBCDRIVERCLASS" ;
554		Pos = MAP_APPFONT ( EDIT_X, 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -1 + EDIT_HEIGHT) ;
555		Size = MAP_APPFONT ( 97, EDIT_HEIGHT ) ;
556		TabStop = TRUE ;
557		Border = TRUE ;
558	};
559	PushButton PB_TESTDRIVERCLASS
560	{
561		HelpID = "dbaccess:PushButton:PAGE_MYSQL_JDBC:PB_TESTDRIVERCLASS" ;
562		TabStop = TRUE ;
563		Pos = MAP_APPFONT ( PAGE_X - BUTTON_WIDTH - UNRELATED_CONTROLS, 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -2 + EDIT_HEIGHT) ;
564		Size = MAP_APPFONT ( BUTTON_WIDTH, BUTTON_HEIGHT ) ;
565		Text [ en-US ] = "Test class" ;
566	};
567
568	AUTO_CHARSET( 5*UNRELATED_CONTROLS + RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT+ EDIT_HEIGHT, PAGE_X )
569};
570
571TabPage PAGE_MYSQL_NATIVE
572{
573	HelpID = "dbaccess:TabPage:PAGE_MYSQL_NATIVE" ;
574	SVLook = TRUE ;
575	Pos = MAP_APPFONT ( 0, 0 ) ;
576	Size = MAP_APPFONT ( PAGE_X, PAGE_Y ) ;
577	Hide = TRUE ;
578
579	AUTO_FIXEDLINE_CONNSETTINGS( UNRELATED_CONTROLS )
580
581	FixedLine FL_SEPARATOR2
582	{
583		Pos = MAP_APPFONT ( 3, 4*UNRELATED_CONTROLS + 3*RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + 3*EDIT_HEIGHT ) ;
584		Size = MAP_APPFONT ( PAGE_X - 6, FIXEDTEXT_HEIGHT ) ;
585		Text [ en-US ] = "User authentication" ;
586	};
587	FixedText FT_USERNAME
588	{
589		Pos = MAP_APPFONT ( 6, 4*UNRELATED_CONTROLS + 4*RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 3*EDIT_HEIGHT ) ;
590		Size = MAP_APPFONT ( EDIT_X - 6 - RELATED_CONTROLS, FIXEDTEXT_HEIGHT ) ;
591		Text [ en-US ] = "~User name" ;
592	};
593	Edit ET_USERNAME
594	{
595		HelpID = "dbaccess:Edit:PAGE_MYSQL_NATIVE:ET_USERNAME" ;
596		Border = TRUE ;
597		Pos = MAP_APPFONT ( EDIT_X, 4*UNRELATED_CONTROLS + 4*RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 3*EDIT_HEIGHT - 1 ) ;
598		Size = MAP_APPFONT ( 105, EDIT_HEIGHT ) ;
599		TabStop = TRUE ;
600	};
601	CheckBox CB_PASSWORD_REQUIRED
602	{
603		HelpID = "dbaccess:CheckBox:PAGE_MYSQL_NATIVE:CB_PASSWORD_REQUIRED" ;
604		Pos = MAP_APPFONT ( EDIT_X, 4*UNRELATED_CONTROLS + 5*RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 4*EDIT_HEIGHT ) ;
605		Size = MAP_APPFONT ( 105, CHECKBOX_HEIGHT ) ;
606		Text [ en-US ] = "Password required" ;
607	};
608
609	AUTO_CHARSET( 5*UNRELATED_CONTROLS + 5*RELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT + 4*EDIT_HEIGHT, PAGE_X )
610};
611
612TabPage PAGE_ORACLE_JDBC
613{
614	HelpID = "dbaccess:TabPage:PAGE_ORACLE_JDBC" ;
615	SVLook = TRUE ;
616	Pos = MAP_APPFONT ( 0, 0 ) ;
617	Size = MAP_APPFONT ( PAGE_X, PAGE_Y ) ;
618	Hide = TRUE ;
619
620	AUTO_FIXEDLINE_CONNSETTINGS( UNRELATED_CONTROLS )
621	AUTO_HOST_AND_PORT( UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT )
622
623	AUTO_SOCKETCONTROLGROUP(3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT)
624
625	FixedText FT_JDBCDRIVERCLASS
626	{
627		Pos = MAP_APPFONT ( 6, 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT) ;
628		Size = MAP_APPFONT ( EDIT_X - 7, FIXEDTEXT_HEIGHT ) ;
629		Text [ en-US ] = "Oracle JDBC d~river class" ;
630	};
631	Edit ET_JDBCDRIVERCLASS
632	{
633		HelpID = "dbaccess:Edit:PAGE_ORACLE_JDBC:ET_JDBCDRIVERCLASS" ;
634		Pos = MAP_APPFONT ( EDIT_X, 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT + ( FIXEDTEXT_HEIGHT - EDIT_HEIGHT ) / 2 ) ;
635		Size = MAP_APPFONT ( 97, EDIT_HEIGHT ) ;
636		TabStop = TRUE ;
637		Border = TRUE ;
638	};
639	PushButton PB_TESTDRIVERCLASS
640	{
641		HelpID = "dbaccess:PushButton:PAGE_ORACLE_JDBC:PB_TESTDRIVERCLASS" ;
642		TabStop = TRUE ;
643		Pos = MAP_APPFONT ( PAGE_X - BUTTON_WIDTH - UNRELATED_CONTROLS, 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT + ( FIXEDTEXT_HEIGHT - BUTTON_HEIGHT ) / 2 ) ;
644		Size = MAP_APPFONT ( BUTTON_WIDTH, BUTTON_HEIGHT ) ;
645		Text [ en-US ] = "Test class" ;
646	};
647
648	AUTO_CHARSET( 5*UNRELATED_CONTROLS + RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT+ EDIT_HEIGHT, PAGE_X )
649};
650
651//.........................................................................
652
653TabPage PAGE_LDAP
654{
655	SVLook = TRUE ;
656	Pos = MAP_APPFONT ( 0, 0 ) ;
657	Size = MAP_APPFONT ( PAGE_X, PAGE_Y ) ;
658	Hide = TRUE ;
659	HelpId = HID_DSADMIN_PAGE_LDAP;
660
661	FixedLine FL_SEPARATOR1
662	{
663		Pos = MAP_APPFONT ( 4, UNRELATED_CONTROLS ) ;
664		Size = MAP_APPFONT ( PAGE_X - 8, FIXEDTEXT_HEIGHT ) ;
665		Text [ en-US ] = "Connection Settings" ;
666	};
667
668	FixedText FT_BASEDN
669	{
670		Pos = MAP_APPFONT ( 6, UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT) ;
671		Size = MAP_APPFONT ( EDIT_X - 7, FIXEDTEXT_HEIGHT ) ;
672		Text [ en-US ] = "~Base DN" ;
673	};
674	Edit ET_BASEDN
675	{
676		TabStop = TRUE ;
677		Border = TRUE ;
678		HelpId = HID_DSADMIN_LDAP_BASEDN;
679
680		Pos = MAP_APPFONT ( EDIT_X, UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT -1 ) ;
681		Size = MAP_APPFONT ( 105, EDIT_HEIGHT ) ;
682	};
683	CheckBox CB_USESSL
684	{
685		Pos = MAP_APPFONT ( 6, 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT) ;
686		Size = MAP_APPFONT ( PAGE_X - 12, CHECKBOX_HEIGHT ) ;
687		Text [ en-US ] = "Use secure connection (SSL)" ;
688		HelpId = HID_DSADMIN_USESSL_LDAP;
689	};
690
691	FixedText FT_PORTNUMBER
692	{
693		Pos = MAP_APPFONT ( 6, 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT) ;
694		Size = MAP_APPFONT ( EDIT_X - 7, FIXEDTEXT_HEIGHT ) ;
695		Text [ en-US ] = "~Port number" ;
696	};
697	NumericField NF_PORTNUMBER
698	{
699		TabStop = TRUE ;
700		Border = TRUE ;
701		HelpId = HID_DSADMIN_LDAP_PORTNUMBER;
702		NoThousandSep = TRUE ;
703
704		Pos = MAP_APPFONT ( EDIT_X, 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT-1 + CHECKBOX_HEIGHT) ;
705		Size = MAP_APPFONT ( 105, EDIT_HEIGHT ) ;
706	};
707	FixedText FT_LDAPROWCOUNT
708	{
709		Pos = MAP_APPFONT ( 6, 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT ) ;
710		Size = MAP_APPFONT ( EDIT_X - 7, FIXEDTEXT_HEIGHT ) ;
711		Text [ en-US ] = "Maximum number of ~records" ;
712	};
713	NumericField NF_LDAPROWCOUNT
714	{
715		TabStop = TRUE ;
716		Border = TRUE ;
717		HelpId = HID_DSADMIN_LDAP_ROWCOUNT;
718		NoThousandSep = TRUE ;
719
720		Pos = MAP_APPFONT ( EDIT_X, 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -1 + CHECKBOX_HEIGHT) ;
721		Size = MAP_APPFONT ( 105, EDIT_HEIGHT ) ;
722	};
723};
724
725
726//.........................................................................
727
728TabPage PAGE_TEXT
729{
730	SVLook = TRUE ;
731	Hide = TRUE ;
732	Pos = MAP_APPFONT ( 0, 0 ) ;
733	Size = MAP_APPFONT ( PAGE_X, PAGE_Y ) ;
734	HelpId = HID_DSADMIN_PAGE_TEXT ;
735
736	AUTO_SEPARATORCONTROLGROUP(UNRELATED_CONTROLS, PAGE_X)
737
738};
739//.........................................................................
740TabPage PAGE_USERDRIVER
741{
742	SVLook = TRUE ;
743	Pos = MAP_APPFONT ( 0, 0 ) ;
744	Size = MAP_APPFONT ( PAGE_X, PAGE_Y ) ;
745	Hide = TRUE ;
746	HelpId = HID_DSADMIN_PAGE_USERDRIVER;
747
748	FixedText FT_HOSTNAME
749	{
750		Pos = MAP_APPFONT ( 6, UNRELATED_CONTROLS ) ;
751		Size = MAP_APPFONT ( EDIT_X - 7, FIXEDTEXT_HEIGHT ) ;
752		Text [ en-US ] = "~Hostname" ;
753	};
754	Edit ET_HOSTNAME
755	{
756		HelpID = "dbaccess:Edit:PAGE_USERDRIVER:ET_HOSTNAME" ;
757		TabStop = TRUE ;
758		Border = TRUE ;
759		Pos = MAP_APPFONT ( EDIT_X, UNRELATED_CONTROLS -1 ) ;
760		Size = MAP_APPFONT ( 105, EDIT_HEIGHT ) ;
761	};
762
763	FixedText FT_PORTNUMBER
764	{
765		Pos = MAP_APPFONT ( 6, 2*UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT) ;
766		Size = MAP_APPFONT ( EDIT_X - 7, FIXEDTEXT_HEIGHT ) ;
767		Text [ en-US ] = "~Port number" ;
768	};
769
770	NumericField NF_PORTNUMBER
771	{
772		HelpID = "dbaccess:NumericField:PAGE_USERDRIVER:NF_PORTNUMBER" ;
773		TabStop = TRUE ;
774		Border = TRUE ;
775		NoThousandSep = TRUE ;
776
777		Pos = MAP_APPFONT ( EDIT_X, 2*UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT -1 ) ;
778		Size = MAP_APPFONT ( 105, EDIT_HEIGHT ) ;
779	};
780
781	FixedText FT_OPTIONS
782	{
783		Pos = MAP_APPFONT ( 6, 3*UNRELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT ) ;
784		Size = MAP_APPFONT ( EDIT_X - 7, FIXEDTEXT_HEIGHT ) ;
785		Text [ en-US ] = "~Driver settings" ;
786	};
787	Edit ET_OPTIONS
788	{
789		HelpID = "dbaccess:Edit:PAGE_USERDRIVER:ET_OPTIONS" ;
790		Border = TRUE ;
791		TabStop = TRUE ;
792	};
793	AUTO_CHARSET( 4*UNRELATED_CONTROLS+ 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS, PAGE_X)
794};
795
796String STR_ERR_USE_CONNECT_TO
797{
798	Text [ en-US ] = "Please choose 'Connect to an existing database' to connect to an existing database instead." ;
799};
800
801// ********************************************************************** EOF
802