xref: /aoo41x/main/dbaccess/source/ui/dlg/dbadmin.src (revision 81d089ae)
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,
548		                    4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT) ;
549		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
550		Text[ en-US ] = "MySQL JDBC d~river class";
551	};
552	Edit ET_JDBCDRIVERCLASS
553	{
554	    HelpID = "dbaccess:Edit:PAGE_MYSQL_JDBC:ET_JDBCDRIVERCLASS";
555		Pos = MAP_APPFONT ( EDIT_X,
556		                    4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -1 + EDIT_HEIGHT) ;
557		Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ;
558		TabStop = TRUE ;
559		Border = TRUE ;
560	};
561	PushButton PB_TESTDRIVERCLASS
562	{
563	    HelpID = "dbaccess:PushButton:PAGE_MYSQL_JDBC:PB_TESTDRIVERCLASS";
564		TabStop = TRUE ;
565		Pos = MAP_APPFONT ( PAGE_X  - BUTTON_WIDTH - UNRELATED_CONTROLS , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -2 + EDIT_HEIGHT) ;
566		Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
567		Text [ en-US ] = "Test class" ;
568	};
569
570	AUTO_CHARSET( 5*UNRELATED_CONTROLS + RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT+ EDIT_HEIGHT, PAGE_X )
571};
572
573TabPage PAGE_MYSQL_NATIVE
574{
575    HelpID = "dbaccess:TabPage:PAGE_MYSQL_NATIVE";
576	SVLook = TRUE ;
577	Pos = MAP_APPFONT ( 0 , 0 ) ;
578	Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
579	Hide = TRUE;
580
581    AUTO_FIXEDLINE_CONNSETTINGS( UNRELATED_CONTROLS )
582
583	FixedLine FL_SEPARATOR2
584	{
585		Pos = MAP_APPFONT ( 3 , 4*UNRELATED_CONTROLS + 3*RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + 3*EDIT_HEIGHT ) ;
586		Size = MAP_APPFONT ( PAGE_X - 6, FIXEDTEXT_HEIGHT ) ;
587		Text[ en-US ] = "User authentication";
588	};
589	FixedText FT_USERNAME
590	{
591		Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + 4*RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 3*EDIT_HEIGHT ) ;
592		Size = MAP_APPFONT ( EDIT_X - 6 - RELATED_CONTROLS, FIXEDTEXT_HEIGHT ) ;
593		Text [ en-US ] = "~User name" ;
594	};
595	Edit ET_USERNAME
596	{
597	    HelpID = "dbaccess:Edit:PAGE_MYSQL_NATIVE:ET_USERNAME";
598		Border = TRUE ;
599		Pos = MAP_APPFONT ( EDIT_X, 4*UNRELATED_CONTROLS + 4*RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 3*EDIT_HEIGHT - 1 ) ;
600		Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
601		TabStop = TRUE ;
602	};
603	CheckBox CB_PASSWORD_REQUIRED
604	{
605	    HelpID = "dbaccess:CheckBox:PAGE_MYSQL_NATIVE:CB_PASSWORD_REQUIRED";
606		Pos = MAP_APPFONT ( EDIT_X, 4*UNRELATED_CONTROLS + 5*RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 4*EDIT_HEIGHT ) ;
607		Size = MAP_APPFONT ( 105, CHECKBOX_HEIGHT ) ;
608		Text [ en-US ] = "Password required";
609	};
610
611	AUTO_CHARSET( 5*UNRELATED_CONTROLS + 5*RELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT + 4*EDIT_HEIGHT, PAGE_X )
612};
613
614TabPage PAGE_ORACLE_JDBC
615{
616    HelpID = "dbaccess:TabPage:PAGE_ORACLE_JDBC";
617	SVLook = TRUE ;
618	Pos = MAP_APPFONT ( 0 , 0 ) ;
619	Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
620	Hide = TRUE;
621
622    AUTO_FIXEDLINE_CONNSETTINGS( UNRELATED_CONTROLS )
623	AUTO_HOST_AND_PORT( UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT )
624
625    AUTO_SOCKETCONTROLGROUP(3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT)
626
627	FixedText FT_JDBCDRIVERCLASS
628	{
629		Pos = MAP_APPFONT ( 6,
630		                    4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT) ;
631		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
632		Text[ en-US ] = "Oracle JDBC d~river class";
633	};
634	Edit ET_JDBCDRIVERCLASS
635	{
636	    HelpID = "dbaccess:Edit:PAGE_ORACLE_JDBC:ET_JDBCDRIVERCLASS";
637		Pos = MAP_APPFONT ( EDIT_X,
638		                    4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT + ( FIXEDTEXT_HEIGHT - EDIT_HEIGHT ) / 2 ) ;
639		Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ;
640		TabStop = TRUE ;
641		Border = TRUE ;
642	};
643	PushButton PB_TESTDRIVERCLASS
644	{
645	    HelpID = "dbaccess:PushButton:PAGE_ORACLE_JDBC:PB_TESTDRIVERCLASS";
646		TabStop = TRUE ;
647		Pos = MAP_APPFONT ( PAGE_X  - BUTTON_WIDTH - UNRELATED_CONTROLS,
648		                    4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + EDIT_HEIGHT + ( FIXEDTEXT_HEIGHT - BUTTON_HEIGHT ) / 2 ) ;
649		Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
650		Text [ en-US ] = "Test class" ;
651	};
652
653	AUTO_CHARSET( 5*UNRELATED_CONTROLS + RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT+ EDIT_HEIGHT, PAGE_X )
654};
655
656//.........................................................................
657
658TabPage PAGE_LDAP
659{
660	SVLook = TRUE ;
661	Pos = MAP_APPFONT ( 0 , 0 ) ;
662	Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
663	Hide = TRUE;
664	HelpId = HID_DSADMIN_PAGE_LDAP;
665
666	FixedLine FL_SEPARATOR1
667	{
668		Pos = MAP_APPFONT ( 4 , UNRELATED_CONTROLS ) ;
669		Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
670		Text[ en-US ] = "Connection Settings";
671	};
672
673	FixedText FT_BASEDN
674	{
675		Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT) ;
676		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
677		Text[ en-US ] = "~Base DN";
678	};
679	Edit ET_BASEDN
680	{
681		TabStop = TRUE ;
682		Border = TRUE ;
683		HelpId = HID_DSADMIN_LDAP_BASEDN;
684
685		Pos = MAP_APPFONT ( EDIT_X , UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT -1 ) ;
686		Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
687	};
688	CheckBox CB_USESSL
689	{
690		Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT) ;
691		Size = MAP_APPFONT ( PAGE_X - 12 , CHECKBOX_HEIGHT ) ;
692		Text [ en-US ] = "Use secure connection(SSL)";
693		HelpId = HID_DSADMIN_USESSL_LDAP;
694	};
695
696	FixedText FT_PORTNUMBER
697	{
698		Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT) ;
699		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
700		Text[ en-US ] = "~Port number";
701	};
702	NumericField NF_PORTNUMBER
703	{
704		TabStop = TRUE ;
705		Border = TRUE ;
706		HelpId = HID_DSADMIN_LDAP_PORTNUMBER;
707		NoThousandSep = TRUE;
708
709		Pos = MAP_APPFONT ( EDIT_X , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT-1  + CHECKBOX_HEIGHT) ;
710		Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
711	};
712	FixedText FT_LDAPROWCOUNT
713	{
714		Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT ) ;
715		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
716		Text[ en-US ] = "Maximum number of ~records";
717	};
718	NumericField NF_LDAPROWCOUNT
719	{
720		TabStop = TRUE ;
721		Border = TRUE ;
722		HelpId = HID_DSADMIN_LDAP_ROWCOUNT;
723		NoThousandSep = TRUE;
724
725		Pos = MAP_APPFONT ( EDIT_X , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -1  + CHECKBOX_HEIGHT) ;
726		Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
727	};
728};
729
730
731//.........................................................................
732
733TabPage PAGE_TEXT
734{
735	SVLook = TRUE ;
736	Hide = TRUE;
737	Pos = MAP_APPFONT ( 0 , 0 ) ;
738	Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
739	HelpId = HID_DSADMIN_PAGE_TEXT;
740
741    AUTO_SEPARATORCONTROLGROUP(UNRELATED_CONTROLS, PAGE_X)
742
743};
744//.........................................................................
745TabPage PAGE_USERDRIVER
746{
747	SVLook = TRUE ;
748	Pos = MAP_APPFONT ( 0 , 0 ) ;
749	Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
750	Hide = TRUE;
751	HelpId = HID_DSADMIN_PAGE_USERDRIVER;
752
753	FixedText FT_HOSTNAME
754	{
755		Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS ) ;
756		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
757		Text[ en-US ] = "~Hostname";
758	};
759	Edit ET_HOSTNAME
760	{
761	    HelpID = "dbaccess:Edit:PAGE_USERDRIVER:ET_HOSTNAME";
762		TabStop = TRUE ;
763		Border = TRUE ;
764		Pos = MAP_APPFONT ( EDIT_X , UNRELATED_CONTROLS -1 ) ;
765		Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
766	};
767
768	FixedText FT_PORTNUMBER
769	{
770		Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT) ;
771		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
772		Text[ en-US ] = "~Port number";
773	};
774
775	NumericField NF_PORTNUMBER
776	{
777	    HelpID = "dbaccess:NumericField:PAGE_USERDRIVER:NF_PORTNUMBER";
778		TabStop = TRUE ;
779		Border = TRUE ;
780		NoThousandSep = TRUE;
781
782		Pos = MAP_APPFONT ( EDIT_X , 2*UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT -1 ) ;
783		Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
784	};
785
786	FixedText FT_OPTIONS
787	{
788		Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT ) ;
789		Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
790		Text [ en-US ] = "~Driver settings" ;
791	};
792	Edit ET_OPTIONS
793	{
794	    HelpID = "dbaccess:Edit:PAGE_USERDRIVER:ET_OPTIONS";
795		Border = TRUE ;
796		TabStop = TRUE ;
797	};
798	AUTO_CHARSET( 4*UNRELATED_CONTROLS+ 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS, PAGE_X)
799};
800
801String STR_ERR_USE_CONNECT_TO
802{
803	Text [ en-US ] = "Please choose 'Connect to an existing database' to connect to an existing database instead.";
804};
805