xref: /trunk/main/extensions/source/dbpilots/listcombopages.src (revision 9b004a7b05cb3557beee722aecdce5c60ff2a1e9)
180fe9c7bSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
380fe9c7bSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
480fe9c7bSAndrew Rist * or more contributor license agreements.  See the NOTICE file
580fe9c7bSAndrew Rist * distributed with this work for additional information
680fe9c7bSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
780fe9c7bSAndrew Rist * to you under the Apache License, Version 2.0 (the
880fe9c7bSAndrew Rist * "License"); you may not use this file except in compliance
980fe9c7bSAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
1180fe9c7bSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
1380fe9c7bSAndrew Rist * Unless required by applicable law or agreed to in writing,
1480fe9c7bSAndrew Rist * software distributed under the License is distributed on an
1580fe9c7bSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1680fe9c7bSAndrew Rist * KIND, either express or implied.  See the License for the
1780fe9c7bSAndrew Rist * specific language governing permissions and limitations
1880fe9c7bSAndrew Rist * under the License.
19cdf0e10cSrcweir *
2080fe9c7bSAndrew Rist *************************************************************/
2180fe9c7bSAndrew Rist
22cdf0e10cSrcweir#ifndef _EXTENSIONS_DBP_DBPRESID_HRC_
23cdf0e10cSrcweir#include "dbpresid.hrc"
24cdf0e10cSrcweir#endif
25cdf0e10cSrcweir
26cdf0e10cSrcweirTabPage RID_PAGE_LCW_CONTENTSELECTION_TABLE
27cdf0e10cSrcweir{
28cdf0e10cSrcweir    HelpID = "extensions:TabPage:RID_PAGE_LCW_CONTENTSELECTION_TABLE" ;
29cdf0e10cSrcweir    SVLook = TRUE ;
30cdf0e10cSrcweir    Size = MAP_APPFONT ( WINDOW_SIZE_X, WINDOW_SIZE_Y ) ;
31cdf0e10cSrcweir
32cdf0e10cSrcweir    Text [ en-US ] = "Table Selection" ;
33cdf0e10cSrcweir
34cdf0e10cSrcweir    FixedLine FL_FRAME
35cdf0e10cSrcweir    {
36cdf0e10cSrcweir        Pos = MAP_APPFONT ( 4, 40 ) ;
37cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 8, 8 ) ;
38cdf0e10cSrcweir        Text [ en-US ] = "Control" ;
39cdf0e10cSrcweir    };
40cdf0e10cSrcweir
41cdf0e10cSrcweir    FixedText FT_SELECTTABLE_LABEL
42cdf0e10cSrcweir    {
43cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7, 52 ) ;
44cdf0e10cSrcweir        Size = MAP_APPFONT ( 120, WINDOW_SIZE_Y - 21 ) ;
45cdf0e10cSrcweir        WordBreak = TRUE ;
46cdf0e10cSrcweir        Group = TRUE ;
47cdf0e10cSrcweir        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:" ;
48cdf0e10cSrcweir    };
49cdf0e10cSrcweir    ListBox LB_SELECTTABLE
50cdf0e10cSrcweir    {
51cdf0e10cSrcweir        HelpID = "extensions:ListBox:RID_PAGE_LCW_CONTENTSELECTION_TABLE:LB_SELECTTABLE" ;
52cdf0e10cSrcweir        Pos = MAP_APPFONT ( 130, 52 ) ;
53cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 130 - 7, WINDOW_SIZE_Y - 52 - 6 ) ;
54cdf0e10cSrcweir        SVLook = TRUE ;
55cdf0e10cSrcweir        Border = TRUE ;
56cdf0e10cSrcweir        AutoHScroll = TRUE ;
57cdf0e10cSrcweir        Sort = FALSE ;
58cdf0e10cSrcweir        DropDown = FALSE ;
59cdf0e10cSrcweir    };
60cdf0e10cSrcweir};
61cdf0e10cSrcweir
62cdf0e10cSrcweirTabPage RID_PAGE_LCW_CONTENTSELECTION_FIELD
63cdf0e10cSrcweir{
64cdf0e10cSrcweir    HelpID = "extensions:TabPage:RID_PAGE_LCW_CONTENTSELECTION_FIELD" ;
65cdf0e10cSrcweir    SVLook = TRUE ;
66cdf0e10cSrcweir    Size = MAP_APPFONT ( WINDOW_SIZE_X, WINDOW_SIZE_Y ) ;
67cdf0e10cSrcweir
68cdf0e10cSrcweir    Text [ en-US ] = "Field Selection" ;
69cdf0e10cSrcweir
70cdf0e10cSrcweir    FixedLine FL_FRAME
71cdf0e10cSrcweir    {
72cdf0e10cSrcweir        Pos = MAP_APPFONT ( 4, 3 ) ;
73cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 8, 8 ) ;
74cdf0e10cSrcweir    };
75cdf0e10cSrcweir
76cdf0e10cSrcweir    FixedText FT_TABLEFIELDS
77cdf0e10cSrcweir    {
78cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7, 15 ) ;
79cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 3, 8 ) ;
80cdf0e10cSrcweir        WordBreak = TRUE ;
81cdf0e10cSrcweir        Group = TRUE ;
82cdf0e10cSrcweir        Text [ en-US ] = "Existing fields" ;
83cdf0e10cSrcweir    };
84cdf0e10cSrcweir    ListBox LB_SELECTFIELD
85cdf0e10cSrcweir    {
86cdf0e10cSrcweir        HelpID = "extensions:ListBox:RID_PAGE_LCW_CONTENTSELECTION_FIELD:LB_SELECTFIELD" ;
87cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7, 26 ) ;
88cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, WINDOW_SIZE_Y - 32 ) ;
89cdf0e10cSrcweir        SVLook = TRUE ;
90cdf0e10cSrcweir        Border = TRUE ;
91cdf0e10cSrcweir        AutoHScroll = TRUE ;
92cdf0e10cSrcweir        Sort = FALSE ;
93cdf0e10cSrcweir        DropDown = FALSE ;
94cdf0e10cSrcweir    };
95cdf0e10cSrcweir    FixedText FT_DISPLAYEDFIELD
96cdf0e10cSrcweir    {
97cdf0e10cSrcweir        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 15 ) ;
98cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 8 ) ;
99cdf0e10cSrcweir        Text [ en-US ] = "Display field" ;
100cdf0e10cSrcweir    };
101cdf0e10cSrcweir    Edit ET_DISPLAYEDFIELD
102cdf0e10cSrcweir    {
103cdf0e10cSrcweir        HelpID = "extensions:Edit:RID_PAGE_LCW_CONTENTSELECTION_FIELD:ET_DISPLAYEDFIELD" ;
104cdf0e10cSrcweir        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 26 ) ;
105cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 12 ) ;
106cdf0e10cSrcweir        SVLook = TRUE ;
107cdf0e10cSrcweir        Border = TRUE ;
108cdf0e10cSrcweir        ReadOnly = TRUE ;
109cdf0e10cSrcweir    };
110cdf0e10cSrcweir    FixedText FT_CONTENTFIELD_INFO
111cdf0e10cSrcweir    {
112cdf0e10cSrcweir        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 45 ) ;
113cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, WINDOW_SIZE_Y - 51 ) ;
114cdf0e10cSrcweir        WordBreak = TRUE ;
115cdf0e10cSrcweir    };
116cdf0e10cSrcweir    String STR_FIELDINFO_COMBOBOX
117cdf0e10cSrcweir    {
118cdf0e10cSrcweir        Text [ en-US ] = "The contents of the field selected will be shown in the combo box list." ;
119cdf0e10cSrcweir    };
120cdf0e10cSrcweir
121cdf0e10cSrcweir    String STR_FIELDINFO_LISTBOX
122cdf0e10cSrcweir    {
123cdf0e10cSrcweir        Text [ en-US ] = "The contents of the selected field will be shown in the list box if the linked fields are identical." ;
124cdf0e10cSrcweir    };
125cdf0e10cSrcweir};
126cdf0e10cSrcweir
127cdf0e10cSrcweirTabPage RID_PAGE_LCW_FIELDLINK
128cdf0e10cSrcweir{
129cdf0e10cSrcweir    HelpID = "extensions:TabPage:RID_PAGE_LCW_FIELDLINK" ;
130cdf0e10cSrcweir    SVLook = TRUE ;
131cdf0e10cSrcweir    Size = MAP_APPFONT ( WINDOW_SIZE_X, WINDOW_SIZE_Y ) ;
132cdf0e10cSrcweir
133cdf0e10cSrcweir    Text [ en-US ] = "Field Link" ;
134cdf0e10cSrcweir
135cdf0e10cSrcweir    FixedText FT_FIELDLINK_DESC
136cdf0e10cSrcweir    {
137cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7, 6 ) ;
138cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ;
139cdf0e10cSrcweir        WordBreak = TRUE ;
140cdf0e10cSrcweir        Text [ en-US ] = "This is where you select fields with matching contents so that the value from the display field will be shown." ;
141cdf0e10cSrcweir    };
142cdf0e10cSrcweir    FixedLine FL_FRAME
143cdf0e10cSrcweir    {
144cdf0e10cSrcweir        Pos = MAP_APPFONT ( 4, 25 ) ;
145cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_SIZE_X - 8, 8 ) ;
146cdf0e10cSrcweir    };
147cdf0e10cSrcweir    FixedText FT_VALUELISTFIELD
148cdf0e10cSrcweir    {
149cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7, 37 ) ;
150cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 8 ) ;
151cdf0e10cSrcweir        Group = TRUE ;
152cdf0e10cSrcweir        Text [ en-US ] = "Field from the ~Value Table" ;
153cdf0e10cSrcweir    };
154cdf0e10cSrcweir    ComboBox CMB_VALUELISTFIELD
155cdf0e10cSrcweir    {
156cdf0e10cSrcweir        HelpID = "extensions:ComboBox:RID_PAGE_LCW_FIELDLINK:CMB_VALUELISTFIELD" ;
157cdf0e10cSrcweir        Pos = MAP_APPFONT ( 7, 48 ) ;
158cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, WINDOW_SIZE_Y - 54 ) ;
159cdf0e10cSrcweir        SVLook = TRUE ;
160cdf0e10cSrcweir        Border = TRUE ;
161cdf0e10cSrcweir        DropDown = FALSE ;
162cdf0e10cSrcweir        Sort = FALSE ;
163cdf0e10cSrcweir        AutoHScroll = TRUE ;
164cdf0e10cSrcweir    };
165cdf0e10cSrcweir    FixedText FT_TABLEFIELD
166cdf0e10cSrcweir    {
167cdf0e10cSrcweir        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 37 ) ;
168cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 8 ) ;
169cdf0e10cSrcweir        Group = TRUE ;
170cdf0e10cSrcweir        Text [ en-US ] = "Field from the ~List Table" ;
171cdf0e10cSrcweir    };
172cdf0e10cSrcweir    ComboBox CMB_TABLEFIELD
173cdf0e10cSrcweir    {
174cdf0e10cSrcweir        HelpID = "extensions:ComboBox:RID_PAGE_LCW_FIELDLINK:CMB_TABLEFIELD" ;
175cdf0e10cSrcweir        Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 48 ) ;
176cdf0e10cSrcweir        Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, WINDOW_SIZE_Y - 54 ) ;
177cdf0e10cSrcweir        SVLook = TRUE ;
178cdf0e10cSrcweir        Border = TRUE ;
179cdf0e10cSrcweir        DropDown = FALSE ;
180cdf0e10cSrcweir        Sort = FALSE ;
181cdf0e10cSrcweir        AutoHScroll = TRUE ;
182cdf0e10cSrcweir    };
183cdf0e10cSrcweir};
184cdf0e10cSrcweir
185cdf0e10cSrcweirString RID_STR_COMBOWIZ_DBFIELD
186cdf0e10cSrcweir{
187cdf0e10cSrcweir    Text [ en-US ] = "You can either save the value of the combo box in a database field or use it for display purposes." ;
188cdf0e10cSrcweir};
189cdf0e10cSrcweir
190*9b004a7bSmseidel// ********************************************************************** EOF
191