Se arregla la base para que en los editores de grid nunca pregunte si se desea guardar los cambios
git-svn-id: https://192.168.0.254/svn/Proyectos.LuisLeon_FactuGES/trunk@316 c93665c3-c93d-084d-9b98-7d5f4a9c3376
This commit is contained in:
parent
3d656d4e2b
commit
2df919ad37
@ -89,6 +89,8 @@ type
|
|||||||
procedure ConfPaginaInterno; override;
|
procedure ConfPaginaInterno; override;
|
||||||
procedure ImprimirInterno; override;
|
procedure ImprimirInterno; override;
|
||||||
procedure RefrescarInterno; override;
|
procedure RefrescarInterno; override;
|
||||||
|
function GetModified: Boolean; override;
|
||||||
|
|
||||||
public
|
public
|
||||||
property ListaAnos: TStringList read GetListaAnos write SetListaAnos;
|
property ListaAnos: TStringList read GetListaAnos write SetListaAnos;
|
||||||
property ViewGrid: IViewGridBase read GetViewGrid write SetViewGrid;
|
property ViewGrid: IViewGridBase read GetViewGrid write SetViewGrid;
|
||||||
@ -123,6 +125,11 @@ begin
|
|||||||
Result := FListaAnos;
|
Result := FListaAnos;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TfEditorGridBase.GetModified: Boolean;
|
||||||
|
begin
|
||||||
|
Result := False;
|
||||||
|
end;
|
||||||
|
|
||||||
function TfEditorGridBase.GetMultiSelect: Boolean;
|
function TfEditorGridBase.GetMultiSelect: Boolean;
|
||||||
begin
|
begin
|
||||||
Result := False;
|
Result := False;
|
||||||
|
|||||||
@ -1,10 +1,9 @@
|
|||||||
object frViewFiltroBase: TfrViewFiltroBase
|
inherited frViewFiltroBase: TfrViewFiltroBase
|
||||||
Left = 0
|
|
||||||
Top = 0
|
|
||||||
Width = 565
|
Width = 565
|
||||||
Height = 102
|
Height = 102
|
||||||
TabOrder = 0
|
|
||||||
Visible = False
|
Visible = False
|
||||||
|
ExplicitWidth = 565
|
||||||
|
ExplicitHeight = 102
|
||||||
object TBXDockablePanel1: TTBXDockablePanel
|
object TBXDockablePanel1: TTBXDockablePanel
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
@ -20,8 +19,6 @@ object frViewFiltroBase: TfrViewFiltroBase
|
|||||||
ShowCaptionWhenDocked = False
|
ShowCaptionWhenDocked = False
|
||||||
SupportedDocks = [dkStandardDock, dkMultiDock]
|
SupportedDocks = [dkStandardDock, dkMultiDock]
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
ExplicitWidth = 128
|
|
||||||
ExplicitHeight = 98
|
|
||||||
object dxLayoutControl1: TdxLayoutControl
|
object dxLayoutControl1: TdxLayoutControl
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
@ -30,8 +27,8 @@ object frViewFiltroBase: TfrViewFiltroBase
|
|||||||
Align = alTop
|
Align = alTop
|
||||||
ParentBackground = True
|
ParentBackground = True
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
|
TabStop = False
|
||||||
AutoContentSizes = [acsWidth, acsHeight]
|
AutoContentSizes = [acsWidth, acsHeight]
|
||||||
ExplicitWidth = 128
|
|
||||||
object txtFiltroTodo: TcxTextEdit
|
object txtFiltroTodo: TcxTextEdit
|
||||||
Left = 87
|
Left = 87
|
||||||
Top = 10
|
Top = 10
|
||||||
@ -129,7 +126,6 @@ object frViewFiltroBase: TfrViewFiltroBase
|
|||||||
Margins.Left = 10
|
Margins.Left = 10
|
||||||
Align = alTop
|
Align = alTop
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
ExplicitWidth = 128
|
|
||||||
object tbxBotones: TTBXToolbar
|
object tbxBotones: TTBXToolbar
|
||||||
Left = 10
|
Left = 10
|
||||||
Top = 0
|
Top = 0
|
||||||
@ -147,7 +143,6 @@ object frViewFiltroBase: TfrViewFiltroBase
|
|||||||
ParentShowHint = False
|
ParentShowHint = False
|
||||||
ShowHint = True
|
ShowHint = True
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
ExplicitWidth = 118
|
|
||||||
object TBXItem2: TTBXItem
|
object TBXItem2: TTBXItem
|
||||||
Action = actQuitarFiltro
|
Action = actQuitarFiltro
|
||||||
DisplayMode = nbdmImageAndText
|
DisplayMode = nbdmImageAndText
|
||||||
|
|||||||
@ -7,10 +7,10 @@ uses
|
|||||||
Dialogs, cxMaskEdit, cxDropDownEdit, cxCalendar, dxLayoutControl,
|
Dialogs, cxMaskEdit, cxDropDownEdit, cxCalendar, dxLayoutControl,
|
||||||
cxContainer, cxEdit, cxTextEdit, dxLayoutLookAndFeels, cxControls,
|
cxContainer, cxEdit, cxTextEdit, dxLayoutLookAndFeels, cxControls,
|
||||||
StdCtrls, Buttons, cxRadioGroup, TBXDkPanels, TB2ExtItems, TBXExtItems,
|
StdCtrls, Buttons, cxRadioGroup, TBXDkPanels, TB2ExtItems, TBXExtItems,
|
||||||
TBX, TB2Item, TB2Dock, TB2Toolbar, ActnList, ImgList, PngImageList;
|
TBX, TB2Item, TB2Dock, TB2Toolbar, ActnList, ImgList, PngImageList, uViewBase;
|
||||||
|
|
||||||
type
|
type
|
||||||
IViewFiltroBase = interface
|
IViewFiltroBase = interface (IViewBase)
|
||||||
['{0D0EA630-BF93-4BA1-93C2-FD5A5B0CBEED}']
|
['{0D0EA630-BF93-4BA1-93C2-FD5A5B0CBEED}']
|
||||||
function GetFiltrosChange: TNotifyEvent;
|
function GetFiltrosChange: TNotifyEvent;
|
||||||
procedure SetFiltrosChange(const Value: TNotifyEvent);
|
procedure SetFiltrosChange(const Value: TNotifyEvent);
|
||||||
@ -25,7 +25,7 @@ type
|
|||||||
property Texto: String read GetTexto write SetTexto;
|
property Texto: String read GetTexto write SetTexto;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TfrViewFiltroBase = class(TFrame, IViewFiltroBase)
|
TfrViewFiltroBase = class(TfrViewBase , IViewFiltroBase)
|
||||||
dxLayoutControl1Group_Root: TdxLayoutGroup;
|
dxLayoutControl1Group_Root: TdxLayoutGroup;
|
||||||
dxLayoutControl1: TdxLayoutControl;
|
dxLayoutControl1: TdxLayoutControl;
|
||||||
dxLayoutLookAndFeelList1: TdxLayoutLookAndFeelList;
|
dxLayoutLookAndFeelList1: TdxLayoutLookAndFeelList;
|
||||||
@ -59,6 +59,7 @@ type
|
|||||||
protected
|
protected
|
||||||
procedure LimpiarCampos; virtual;
|
procedure LimpiarCampos; virtual;
|
||||||
function ValidarCampos: Boolean; virtual;
|
function ValidarCampos: Boolean; virtual;
|
||||||
|
function GetModified: Boolean; override;
|
||||||
|
|
||||||
public
|
public
|
||||||
property OnFiltrosChange: TNotifyEvent read GetFiltrosChange write SetFiltrosChange;
|
property OnFiltrosChange: TNotifyEvent read GetFiltrosChange write SetFiltrosChange;
|
||||||
@ -78,6 +79,11 @@ begin
|
|||||||
Result := FOnFiltrosChange;
|
Result := FOnFiltrosChange;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function TfrViewFiltroBase.GetModified: Boolean;
|
||||||
|
begin
|
||||||
|
Result := False;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TfrViewFiltroBase.SetFiltrosChange(const Value: TNotifyEvent);
|
procedure TfrViewFiltroBase.SetFiltrosChange(const Value: TNotifyEvent);
|
||||||
begin
|
begin
|
||||||
FOnFiltrosChange := Value;
|
FOnFiltrosChange := Value;
|
||||||
|
|||||||
@ -16,7 +16,7 @@ BEGIN
|
|||||||
VALUE "FileVersion", "3.3.1.0\0"
|
VALUE "FileVersion", "3.3.1.0\0"
|
||||||
VALUE "ProductName", "FactuGES Server\0"
|
VALUE "ProductName", "FactuGES Server\0"
|
||||||
VALUE "ProductVersion", "3.3.1.0\0"
|
VALUE "ProductVersion", "3.3.1.0\0"
|
||||||
VALUE "CompileDate", "miércoles, 08 de julio de 2009 12:22\0"
|
VALUE "CompileDate", "jueves, 09 de julio de 2009 11:41\0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user