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