diff options
Diffstat (limited to 'dbaccess/source/ui/dlg/directsql.src')
-rw-r--r-- | dbaccess/source/ui/dlg/directsql.src | 41 |
1 files changed, 31 insertions, 10 deletions
diff --git a/dbaccess/source/ui/dlg/directsql.src b/dbaccess/source/ui/dlg/directsql.src index 1f200b0bcda3..cb7d50f3c211 100644 --- a/dbaccess/source/ui/dlg/directsql.src +++ b/dbaccess/source/ui/dlg/directsql.src @@ -27,7 +27,7 @@ #define BUTTON_SIZE_Y 14 #define WINDOW_SIZE_X 200 -#define WINDOW_SIZE_Y 210 + BUTTON_SIZE_Y + BUTTON_SIZE_Y +#define WINDOW_SIZE_Y 255 + BUTTON_SIZE_Y + BUTTON_SIZE_Y ModalDialog DLG_DIRECTSQL { @@ -54,30 +54,36 @@ ModalDialog DLG_DIRECTSQL { HelpID = "dbaccess:MultiLineEdit:DLG_DIRECTSQL:ME_SQL"; Pos = MAP_APPFONT( 7, 26 ); - Size = MAP_APPFONT( WINDOW_SIZE_X - 14, 80 ); + Size = MAP_APPFONT( WINDOW_SIZE_X - 14, 60 ); SVLook = TRUE; Border = TRUE; TabStop = TRUE; IgnoreTab = TRUE; }; + CheckBox CB_SHOWOUTPUT + { + Pos = MAP_APPFONT( 7, 89 ); + Size = MAP_APPFONT( 120, 10 ); + Text [ en-US ] = "Show output of \"select\" statements"; + }; PushButton PB_EXECUTE { HelpID = "dbaccess:PushButton:DLG_DIRECTSQL:PB_EXECUTE"; - Pos = MAP_APPFONT( WINDOW_SIZE_X - BUTTON_SIZE_X - 7, 109 ); + Pos = MAP_APPFONT( WINDOW_SIZE_X - BUTTON_SIZE_X - 7, 89 ); Size = MAP_APPFONT( BUTTON_SIZE_X, BUTTON_SIZE_Y ); Text [ en-US ] = "Execute"; DefButton = TRUE; }; FixedText FT_HISTORY { - Pos = MAP_APPFONT( 7, 110 + BUTTON_SIZE_Y + 3 ); + Pos = MAP_APPFONT( 7, 85 + BUTTON_SIZE_Y + 3 ); Size = MAP_APPFONT( WINDOW_SIZE_X - 14, 8 ); Text [ en-US ] = "Previous commands"; }; ListBox LB_HISTORY { HelpID = "dbaccess:ListBox:DLG_DIRECTSQL:LB_HISTORY"; - Pos = MAP_APPFONT( 7, 121 + BUTTON_SIZE_Y + 3 ); + Pos = MAP_APPFONT( 7, 96 + BUTTON_SIZE_Y + 3 ); Size = MAP_APPFONT( WINDOW_SIZE_X - 14, 14 ); SvLook = TRUE; DropDown = TRUE; @@ -85,33 +91,48 @@ ModalDialog DLG_DIRECTSQL }; FixedLine FL_STATUS { - Pos = MAP_APPFONT( 4, 138 + BUTTON_SIZE_Y + 4 ); + Pos = MAP_APPFONT( 4, 113 + BUTTON_SIZE_Y + 4 ); Size = MAP_APPFONT( WINDOW_SIZE_X - 8, 8 ); Text [ en-US ] = "Status"; }; MultiLineEdit ME_STATUS { HelpID = "dbaccess:MultiLineEdit:DLG_DIRECTSQL:ME_STATUS"; - Pos = MAP_APPFONT( 7, 153 + BUTTON_SIZE_Y ); + Pos = MAP_APPFONT( 7, 128 + BUTTON_SIZE_Y ); Size = MAP_APPFONT( WINDOW_SIZE_X - 14, 41 ); Border = TRUE; ReadOnly = TRUE; VScroll = TRUE; }; + FixedLine FL_OUTPUT + { + Pos = MAP_APPFONT( 4, 173 + BUTTON_SIZE_Y + 4 ); + Size = MAP_APPFONT( WINDOW_SIZE_X - 8, 8 ); + Text [ en-US ] = "Output"; + }; + MultiLineEdit ME_OUTPUT + { + Pos = MAP_APPFONT( 7, 188 + BUTTON_SIZE_Y ); + Size = MAP_APPFONT( WINDOW_SIZE_X - 14, 51 ); + Border = TRUE; + ReadOnly = TRUE; + VScroll = TRUE; + HScroll = TRUE; + }; FixedLine FL_BUTTONS { - Pos = MAP_APPFONT( 4, 193 + BUTTON_SIZE_Y + 4 ); + Pos = MAP_APPFONT( 4, 238 + BUTTON_SIZE_Y + 4 ); Size = MAP_APPFONT( WINDOW_SIZE_X - 8, 8 ); }; HelpButton PB_HELP { - Pos = MAP_APPFONT( WINDOW_SIZE_X - 7 - BUTTON_SIZE_X - 3 - BUTTON_SIZE_X, 207 + BUTTON_SIZE_Y ); + Pos = MAP_APPFONT( WINDOW_SIZE_X - 7 - BUTTON_SIZE_X - 3 - BUTTON_SIZE_X, 252 + BUTTON_SIZE_Y ); Size = MAP_APPFONT( BUTTON_SIZE_X, BUTTON_SIZE_Y ); }; PushButton PB_CLOSE { HelpID = "dbaccess:PushButton:DLG_DIRECTSQL:PB_CLOSE"; - Pos = MAP_APPFONT( WINDOW_SIZE_X - 7 - BUTTON_SIZE_X, 207 + BUTTON_SIZE_Y ); + Pos = MAP_APPFONT( WINDOW_SIZE_X - 7 - BUTTON_SIZE_X, 252 + BUTTON_SIZE_Y ); Size = MAP_APPFONT( BUTTON_SIZE_X, BUTTON_SIZE_Y ); Text [ en-US ] = "Close"; }; |