From b5508059d2f1754086aba874c47cb846ce389fb6 Mon Sep 17 00:00:00 2001 From: roberto Date: Fri, 6 Nov 2015 10:46:29 +0000 Subject: [PATCH] Version 4.4.6 git-svn-id: https://192.168.0.254/svn/Proyectos.LuisLeon_FactuGES2/trunk@243 b2cfbe5a-eba1-4a0c-8b32-7feea0a119f2 --- Source/ApplicationBase/ApplicationBase.dproj | 8 +- .../Empresas/Views/uEditorEmpresa.dfm | 130 ++++++++++-------- .../Usuarios/Views/uEditorCambiarPassword.dfm | 1 + .../Usuarios/Views/uEditorCambiarPassword.pas | 8 +- .../Usuarios/Views/uEditorLogin.pas | 3 +- Source/Base/Base.dpk | 3 +- Source/Base/Base.dproj | 105 +++++++------- Source/Base/Conexion/uConfigurarConexion.dfm | 1 + Source/Base/Conexion/uConfigurarConexion.pas | 8 +- Source/Base/Utiles/uGridStatusUtils.pas | 71 ++++++++++ Source/Cliente/FactuGES.dproj | 2 +- Source/Cliente/FactuGES.rc | 8 +- Source/Cliente/FactuGES.res | Bin 171984 -> 171984 bytes Source/Cliente/uPantallaPrincipal.pas | 56 ++++---- Source/GUIBase/uDialogBase.pas | 3 +- Source/GUIBase/uEditorBase.pas | 3 +- Source/GUIBase/uEditorBasico.dfm | 1 + Source/GUIBase/uEditorBasico.pas | 9 ++ Source/GUIBase/uViewDetallesBase.dfm | 51 ++++--- Source/GUIBase/uViewDetallesBase.pas | 86 +++++++++++- Source/GUIBase/uViewGrid.dfm | 3 +- Source/GUIBase/uViewGridBase.pas | 14 +- Source/Servidor/FactuGES_Server.RES | Bin 23212 -> 23212 bytes Source/Servidor/FactuGES_Server.dproj | 2 +- Source/Servidor/FactuGES_Server.rc | 10 +- Source/Servidor/uAcercaDe.pas | 2 +- 26 files changed, 396 insertions(+), 192 deletions(-) diff --git a/Source/ApplicationBase/ApplicationBase.dproj b/Source/ApplicationBase/ApplicationBase.dproj index ef59f35..5ab31c7 100644 --- a/Source/ApplicationBase/ApplicationBase.dproj +++ b/Source/ApplicationBase/ApplicationBase.dproj @@ -55,10 +55,10 @@ MainSource - - - - + + + + diff --git a/Source/ApplicationBase/Empresas/Views/uEditorEmpresa.dfm b/Source/ApplicationBase/Empresas/Views/uEditorEmpresa.dfm index 913ec6e..e8e05ef 100644 --- a/Source/ApplicationBase/Empresas/Views/uEditorEmpresa.dfm +++ b/Source/ApplicationBase/Empresas/Views/uEditorEmpresa.dfm @@ -125,115 +125,115 @@ inherited fEditorEmpresa: TfEditorEmpresa ExplicitTop = 267 end inherited eCalle: TcxDBTextEdit - Top = 294 - Style.LookAndFeel.SkinName = '' - StyleDisabled.LookAndFeel.SkinName = '' - StyleFocused.LookAndFeel.SkinName = '' - StyleHot.LookAndFeel.SkinName = '' - ExplicitTop = 294 - ExplicitWidth = 234 - Width = 234 - end - inherited eCodigoPostal: TcxDBTextEdit Top = 321 Style.LookAndFeel.SkinName = '' StyleDisabled.LookAndFeel.SkinName = '' StyleFocused.LookAndFeel.SkinName = '' StyleHot.LookAndFeel.SkinName = '' ExplicitTop = 321 + ExplicitWidth = 234 + Width = 234 + end + inherited eCodigoPostal: TcxDBTextEdit + Top = 348 + Style.LookAndFeel.SkinName = '' + StyleDisabled.LookAndFeel.SkinName = '' + StyleFocused.LookAndFeel.SkinName = '' + StyleHot.LookAndFeel.SkinName = '' + ExplicitTop = 348 end inherited ePaginaWeb: TcxDBTextEdit - Left = 508 + Left = 515 Top = 216 Style.LookAndFeel.SkinName = '' StyleDisabled.LookAndFeel.SkinName = '' StyleFocused.LookAndFeel.SkinName = '' StyleHot.LookAndFeel.SkinName = '' - ExplicitLeft = 508 + ExplicitLeft = 515 ExplicitTop = 216 ExplicitWidth = 164 Width = 164 end inherited eMailParticular: TcxDBTextEdit - Left = 508 + Left = 515 Top = 189 Style.LookAndFeel.SkinName = '' StyleDisabled.LookAndFeel.SkinName = '' StyleFocused.LookAndFeel.SkinName = '' StyleHot.LookAndFeel.SkinName = '' - ExplicitLeft = 508 + ExplicitLeft = 515 ExplicitTop = 189 ExplicitWidth = 164 Width = 164 end inherited eMailTrabajo: TcxDBTextEdit - Left = 508 + Left = 515 Top = 162 Style.LookAndFeel.SkinName = '' StyleDisabled.LookAndFeel.SkinName = '' StyleFocused.LookAndFeel.SkinName = '' StyleHot.LookAndFeel.SkinName = '' - ExplicitLeft = 508 + ExplicitLeft = 515 ExplicitTop = 162 ExplicitWidth = 164 Width = 164 end inherited cxDBMemo1: TcxDBMemo - Top = 399 + Top = 426 Style.LookAndFeel.SkinName = '' StyleDisabled.LookAndFeel.SkinName = '' StyleFocused.LookAndFeel.SkinName = '' StyleHot.LookAndFeel.SkinName = '' - ExplicitTop = 399 + ExplicitTop = 426 ExplicitWidth = 329 ExplicitHeight = 64 Height = 64 Width = 329 end inherited eTlfParticular: TcxDBTextEdit - Left = 508 + Left = 515 Top = 57 Style.LookAndFeel.SkinName = '' StyleDisabled.LookAndFeel.SkinName = '' StyleFocused.LookAndFeel.SkinName = '' StyleHot.LookAndFeel.SkinName = '' - ExplicitLeft = 508 + ExplicitLeft = 515 ExplicitTop = 57 ExplicitWidth = 164 Width = 164 end inherited eTlfTrabajo: TcxDBTextEdit - Left = 508 + Left = 515 Top = 30 Style.LookAndFeel.SkinName = '' StyleDisabled.LookAndFeel.SkinName = '' StyleFocused.LookAndFeel.SkinName = '' StyleHot.LookAndFeel.SkinName = '' - ExplicitLeft = 508 + ExplicitLeft = 515 ExplicitTop = 30 ExplicitWidth = 164 Width = 164 end inherited eTlfMovil: TcxDBTextEdit - Left = 508 + Left = 515 Top = 84 Style.LookAndFeel.SkinName = '' StyleDisabled.LookAndFeel.SkinName = '' StyleFocused.LookAndFeel.SkinName = '' StyleHot.LookAndFeel.SkinName = '' - ExplicitLeft = 508 + ExplicitLeft = 515 ExplicitTop = 84 ExplicitWidth = 164 Width = 164 end inherited eFax: TcxDBTextEdit - Left = 508 + Left = 515 Top = 111 Style.LookAndFeel.SkinName = '' StyleDisabled.LookAndFeel.SkinName = '' StyleFocused.LookAndFeel.SkinName = '' StyleHot.LookAndFeel.SkinName = '' - ExplicitLeft = 508 + ExplicitLeft = 515 ExplicitTop = 111 ExplicitWidth = 164 Width = 164 @@ -269,13 +269,13 @@ inherited fEditorEmpresa: TfEditorEmpresa Width = 234 end inherited cxDBImage1: TcxDBImage - Left = 413 + Left = 420 Top = 267 Style.LookAndFeel.SkinName = '' StyleDisabled.LookAndFeel.SkinName = '' StyleFocused.LookAndFeel.SkinName = '' StyleHot.LookAndFeel.SkinName = '' - ExplicitLeft = 413 + ExplicitLeft = 420 ExplicitTop = 267 ExplicitWidth = 230 ExplicitHeight = 142 @@ -283,43 +283,53 @@ inherited fEditorEmpresa: TfEditorEmpresa Width = 230 end inherited eParamMargen: TcxDBSpinEdit - Top = 243 + Top = 270 Style.LookAndFeel.SkinName = '' StyleDisabled.LookAndFeel.SkinName = '' StyleFocused.LookAndFeel.SkinName = '' StyleHot.LookAndFeel.SkinName = '' - ExplicitTop = 243 + ExplicitTop = 270 end inherited eParamTiempo: TcxDBCurrencyEdit - Top = 243 + Top = 270 Style.LookAndFeel.SkinName = '' StyleDisabled.LookAndFeel.SkinName = '' StyleFocused.LookAndFeel.SkinName = '' StyleHot.LookAndFeel.SkinName = '' - ExplicitTop = 243 + ExplicitTop = 270 end inherited cbProvincia: TcxDBComboBox - Top = 321 - Style.LookAndFeel.SkinName = '' - StyleDisabled.LookAndFeel.SkinName = '' - StyleFocused.LookAndFeel.SkinName = '' - StyleHot.LookAndFeel.SkinName = '' - ExplicitTop = 321 - ExplicitWidth = 91 - Width = 91 - end - inherited cbPoblacion: TcxDBComboBox Top = 348 - Properties.OnInitPopup = nil Style.LookAndFeel.SkinName = '' StyleDisabled.LookAndFeel.SkinName = '' StyleFocused.LookAndFeel.SkinName = '' StyleHot.LookAndFeel.SkinName = '' ExplicitTop = 348 + ExplicitWidth = 91 + Width = 91 + end + inherited cbPoblacion: TcxDBComboBox + Top = 375 + Properties.OnInitPopup = nil + Style.LookAndFeel.SkinName = '' + StyleDisabled.LookAndFeel.SkinName = '' + StyleFocused.LookAndFeel.SkinName = '' + StyleHot.LookAndFeel.SkinName = '' + ExplicitTop = 375 ExplicitWidth = 234 Width = 234 end inherited cbFormaPago: TcxComboBox + Top = 192 + Style.LookAndFeel.SkinName = '' + StyleDisabled.LookAndFeel.SkinName = '' + StyleFocused.LookAndFeel.SkinName = '' + StyleHot.LookAndFeel.SkinName = '' + ExplicitTop = 192 + ExplicitWidth = 202 + Width = 202 + end + inherited cbTipoIVA: TcxComboBox Top = 165 Style.LookAndFeel.SkinName = '' StyleDisabled.LookAndFeel.SkinName = '' @@ -329,23 +339,23 @@ inherited fEditorEmpresa: TfEditorEmpresa ExplicitWidth = 202 Width = 202 end - inherited cbTipoIVA: TcxComboBox + inherited cbAlmacen: TcxComboBox + Top = 219 + Style.LookAndFeel.SkinName = '' + StyleDisabled.LookAndFeel.SkinName = '' + StyleFocused.LookAndFeel.SkinName = '' + StyleHot.LookAndFeel.SkinName = '' + ExplicitTop = 219 + end + inherited eValidez: TcxDBSpinEdit Top = 138 Style.LookAndFeel.SkinName = '' StyleDisabled.LookAndFeel.SkinName = '' StyleFocused.LookAndFeel.SkinName = '' StyleHot.LookAndFeel.SkinName = '' ExplicitTop = 138 - ExplicitWidth = 202 - Width = 202 - end - inherited cbAlmacen: TcxComboBox - Top = 192 - Style.LookAndFeel.SkinName = '' - StyleDisabled.LookAndFeel.SkinName = '' - StyleFocused.LookAndFeel.SkinName = '' - StyleHot.LookAndFeel.SkinName = '' - ExplicitTop = 192 + ExplicitWidth = 60 + Width = 60 end end end @@ -378,6 +388,18 @@ inherited fEditorEmpresa: TfEditorEmpresa inherited ToolBar1: TToolBar Width = 660 ExplicitWidth = 660 + inherited ToolButton1: TToolButton + ExplicitWidth = 113 + end + inherited ToolButton4: TToolButton + ExplicitWidth = 113 + end + inherited ToolButton2: TToolButton + ExplicitWidth = 113 + end + inherited ToolButton7: TToolButton + ExplicitWidth = 113 + end end end end diff --git a/Source/ApplicationBase/Usuarios/Views/uEditorCambiarPassword.dfm b/Source/ApplicationBase/Usuarios/Views/uEditorCambiarPassword.dfm index a35428a..5a7936a 100644 --- a/Source/ApplicationBase/Usuarios/Views/uEditorCambiarPassword.dfm +++ b/Source/ApplicationBase/Usuarios/Views/uEditorCambiarPassword.dfm @@ -15,6 +15,7 @@ object fEditorCambiarPassword: TfEditorCambiarPassword Position = poScreenCenter OnClose = FormClose OnCloseQuery = FormCloseQuery + OnShow = FormShow PixelsPerInch = 96 TextHeight = 13 object Bevel4: TBevel diff --git a/Source/ApplicationBase/Usuarios/Views/uEditorCambiarPassword.pas b/Source/ApplicationBase/Usuarios/Views/uEditorCambiarPassword.pas index 0f5ec15..b4d087f 100644 --- a/Source/ApplicationBase/Usuarios/Views/uEditorCambiarPassword.pas +++ b/Source/ApplicationBase/Usuarios/Views/uEditorCambiarPassword.pas @@ -25,6 +25,7 @@ type procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean); procedure actCancelarExecute(Sender: TObject); procedure actAceptarExecute(Sender: TObject); + procedure FormShow(Sender: TObject); public Usuario : IBizUsuario; Controller : IUsuariosController; @@ -36,7 +37,7 @@ implementation {$R *.dfm} uses - uDialogUtils; + uDialogUtils, uDisplayUtils; procedure TfEditorCambiarPassword.FormClose(Sender: TObject; var Action: TCloseAction); begin @@ -98,4 +99,9 @@ begin end; end; +procedure TfEditorCambiarPassword.FormShow(Sender: TObject); +begin + ScaleFormFont(Self); +end; + end. diff --git a/Source/ApplicationBase/Usuarios/Views/uEditorLogin.pas b/Source/ApplicationBase/Usuarios/Views/uEditorLogin.pas index ced385f..39dc80d 100644 --- a/Source/ApplicationBase/Usuarios/Views/uEditorLogin.pas +++ b/Source/ApplicationBase/Usuarios/Views/uEditorLogin.pas @@ -44,7 +44,7 @@ type implementation uses - uFactuGES_App, uDataModuleConexion; + uFactuGES_App, uDataModuleConexion, uDisplayUtils; {$R *.dfm} @@ -110,6 +110,7 @@ end; procedure TfEditorLogin.FormShow(Sender: TObject); begin + ScaleFormFont(Self); Self.Caption := AppFactuGES.AppFullName; // JvFormStorage1.RestoreFormPlacement; Que se meta usuario y contraseña siempre diff --git a/Source/Base/Base.dpk b/Source/Base/Base.dpk index 68859af..9174ecb 100644 --- a/Source/Base/Base.dpk +++ b/Source/Base/Base.dpk @@ -122,6 +122,7 @@ contains RegExpr in 'Utiles\RegExpr.pas', IBANMetrics in 'Utiles\TIBAN\IBANMetrics.pas', IBAN in 'Utiles\TIBAN\IBAN.pas', - uIBANUtils in 'Utiles\uIBANUtils.pas'; + uIBANUtils in 'Utiles\uIBANUtils.pas', + uDisplayUtils in 'Utiles\uDisplayUtils.pas'; end. diff --git a/Source/Base/Base.dproj b/Source/Base/Base.dproj index 12474a2..2f86c71 100644 --- a/Source/Base/Base.dproj +++ b/Source/Base/Base.dproj @@ -54,58 +54,6 @@ MainSource - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DataModuleImpresiones
TDataModule @@ -138,14 +86,59 @@
dmBase
TDataModule
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -154,6 +147,7 @@ + @@ -169,6 +163,13 @@ + + + + + + +