xref: /trunk/main/extensions/source/dbpilots/listcombopages.src (revision cf8e6a53ed981a205d7700be9a04dd40a005f9f6)
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#ifndef _EXTENSIONS_DBP_DBPRESID_HRC_
23#include "dbpresid.hrc"
24#endif
25
26TabPage RID_PAGE_LCW_CONTENTSELECTION_TABLE
27{
28    HelpID = "extensions:TabPage:RID_PAGE_LCW_CONTENTSELECTION_TABLE" ;
29    SVLook = TRUE ;
30    Size = MAP_APPFONT ( WINDOW_SIZE_X, WINDOW_SIZE_Y ) ;
31
32    Text [ en-US ] = "Table Selection" ;
33
34    FixedLine FL_FRAME
35    {
36        Pos = MAP_APPFONT ( 4, 40 ) ;
37        Size = MAP_APPFONT ( WINDOW_SIZE_X - 8, 8 ) ;
38        Text [ en-US ] = "Control" ;
39    };
40
41    FixedText FT_SELECTTABLE_LABEL
42    {
43        Pos = MAP_APPFONT ( 7, 52 ) ;
44        Size = MAP_APPFONT ( 120, WINDOW_SIZE_Y - 21 ) ;
45        WordBreak = TRUE ;
46        Group = TRUE ;
47        Text [ en-US ] = "On the right side, you see all the tables from the data source of the form.\n\n\nChoose the table from which the data should be used as basis for the list content:" ;
48    };
49    ListBox LB_SELECTTABLE
50    {
51        HelpID = "extensions:ListBox:RID_PAGE_LCW_CONTENTSELECTION_TABLE:LB_SELECTTABLE" ;
52        Pos = MAP_APPFONT ( 130, 52 ) ;
53        Size = MAP_APPFONT ( WINDOW_SIZE_X - 130 - 7, WINDOW_SIZE_Y - 52 - 6 ) ;
54        SVLook = TRUE ;
55        Border = TRUE ;
56        AutoHScroll = TRUE ;
57        Sort = FALSE ;
58        DropDown = FALSE ;
59    };
60};
61
62TabPage RID_PAGE_LCW_CONTENTSELECTION_FIELD
63{
64    HelpID = "extensions:TabPage:RID_PAGE_LCW_CONTENTSELECTION_FIELD" ;
65    SVLook = TRUE ;
66    Size = MAP_APPFONT ( WINDOW_SIZE_X, WINDOW_SIZE_Y ) ;
67
68    Text [ en-US ] = "Field Selection" ;
69
70    FixedLine FL_FRAME
71    {
72        Pos = MAP_APPFONT ( 4, 3 ) ;
73        Size = MAP_APPFONT ( WINDOW_SIZE_X - 8, 8 ) ;
74    };
75
76    FixedText FT_TABLEFIELDS
77    {
78        Pos = MAP_APPFONT ( 7, 15 ) ;
79        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 3, 8 ) ;
80        WordBreak = TRUE ;
81        Group = TRUE ;
82        Text [ en-US ] = "Existing fields" ;
83    };
84    ListBox LB_SELECTFIELD
85    {
86        HelpID = "extensions:ListBox:RID_PAGE_LCW_CONTENTSELECTION_FIELD:LB_SELECTFIELD" ;
87        Pos = MAP_APPFONT ( 7, 26 ) ;
88        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, WINDOW_SIZE_Y - 32 ) ;
89        SVLook = TRUE ;
90        Border = TRUE ;
91        AutoHScroll = TRUE ;
92        Sort = FALSE ;
93        DropDown = FALSE ;
94    };
95    FixedText FT_DISPLAYEDFIELD
96    {
97        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 15 ) ;
98        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 8 ) ;
99        Text [ en-US ] = "Display field" ;
100    };
101    Edit ET_DISPLAYEDFIELD
102    {
103        HelpID = "extensions:Edit:RID_PAGE_LCW_CONTENTSELECTION_FIELD:ET_DISPLAYEDFIELD" ;
104        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 26 ) ;
105        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 12 ) ;
106        SVLook = TRUE ;
107        Border = TRUE ;
108        ReadOnly = TRUE ;
109    };
110    FixedText FT_CONTENTFIELD_INFO
111    {
112        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 45 ) ;
113        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, WINDOW_SIZE_Y - 51 ) ;
114        WordBreak = TRUE ;
115    };
116    String STR_FIELDINFO_COMBOBOX
117    {
118        Text [ en-US ] = "The contents of the field selected will be shown in the combo box list." ;
119    };
120
121    String STR_FIELDINFO_LISTBOX
122    {
123        Text [ en-US ] = "The contents of the selected field will be shown in the list box if the linked fields are identical." ;
124    };
125};
126
127TabPage RID_PAGE_LCW_FIELDLINK
128{
129    HelpID = "extensions:TabPage:RID_PAGE_LCW_FIELDLINK" ;
130    SVLook = TRUE ;
131    Size = MAP_APPFONT ( WINDOW_SIZE_X, WINDOW_SIZE_Y ) ;
132
133    Text [ en-US ] = "Field Link" ;
134
135    FixedText FT_FIELDLINK_DESC
136    {
137        Pos = MAP_APPFONT ( 7, 6 ) ;
138        Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ;
139        WordBreak = TRUE ;
140        Text [ en-US ] = "This is where you select fields with matching contents so that the value from the display field will be shown." ;
141    };
142    FixedLine FL_FRAME
143    {
144        Pos = MAP_APPFONT ( 4, 25 ) ;
145        Size = MAP_APPFONT ( WINDOW_SIZE_X - 8, 8 ) ;
146    };
147    FixedText FT_VALUELISTFIELD
148    {
149        Pos = MAP_APPFONT ( 7, 37 ) ;
150        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 8 ) ;
151        Group = TRUE ;
152        Text [ en-US ] = "Field from the ~Value Table" ;
153    };
154    ComboBox CMB_VALUELISTFIELD
155    {
156        HelpID = "extensions:ComboBox:RID_PAGE_LCW_FIELDLINK:CMB_VALUELISTFIELD" ;
157        Pos = MAP_APPFONT ( 7, 48 ) ;
158        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, WINDOW_SIZE_Y - 54 ) ;
159        SVLook = TRUE ;
160        Border = TRUE ;
161        DropDown = FALSE ;
162        Sort = FALSE ;
163        AutoHScroll = TRUE ;
164    };
165    FixedText FT_TABLEFIELD
166    {
167        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 37 ) ;
168        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 8 ) ;
169        Group = TRUE ;
170        Text [ en-US ] = "Field from the ~List Table" ;
171    };
172    ComboBox CMB_TABLEFIELD
173    {
174        HelpID = "extensions:ComboBox:RID_PAGE_LCW_FIELDLINK:CMB_TABLEFIELD" ;
175        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 48 ) ;
176        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, WINDOW_SIZE_Y - 54 ) ;
177        SVLook = TRUE ;
178        Border = TRUE ;
179        DropDown = FALSE ;
180        Sort = FALSE ;
181        AutoHScroll = TRUE ;
182    };
183};
184
185String RID_STR_COMBOWIZ_DBFIELD
186{
187    Text [ en-US ] = "You can either save the value of the combo box in a database field or use it for display purposes." ;
188};
189
190// ********************************************************************** EOF
191