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