Controladores: repaso 2º a la visualización de editores => vista modal -> hacer release / vista embebida -> no hacer release.
git-svn-id: https://192.168.0.254/svn/Proyectos.Tecsitel_FactuGES2/trunk@756 0c75b7a4-871f-7646-8a2f-f78d34cc349f
This commit is contained in:
parent
452c3b55ba
commit
5a4aa82dd9
@ -266,13 +266,9 @@ begin
|
||||
if Assigned(AEditor) then
|
||||
with AEditor do
|
||||
begin
|
||||
try
|
||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
||||
Almacenes := AAlmacenes;
|
||||
ShowEmbedded;
|
||||
finally
|
||||
AEditor := NIL;
|
||||
end;
|
||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
||||
Almacenes := AAlmacenes;
|
||||
ShowEmbedded;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
@ -487,12 +487,8 @@ begin
|
||||
if Assigned(AEditor) then
|
||||
with (AEditor as IEditorArticulos) do
|
||||
begin
|
||||
try
|
||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
||||
ShowEmbedded;
|
||||
finally
|
||||
AEditor := Nil;
|
||||
end;
|
||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
||||
ShowEmbedded;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
@ -498,14 +498,10 @@ begin
|
||||
if Assigned(AEditor) then
|
||||
with AEditor do
|
||||
begin
|
||||
try
|
||||
Contactos := AContactos;
|
||||
Controller := Self;
|
||||
MultiSelect := True;
|
||||
ShowEmbedded;
|
||||
finally
|
||||
AEditor := NIL;
|
||||
end;
|
||||
Contactos := AContactos;
|
||||
Controller := Self;
|
||||
MultiSelect := True;
|
||||
ShowEmbedded;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
@ -292,14 +292,10 @@ begin
|
||||
if Assigned(AEditor) then
|
||||
with AEditor do
|
||||
begin
|
||||
try
|
||||
Contactos := AContactos;
|
||||
Controller := Self;
|
||||
MultiSelect := True;
|
||||
ShowEmbedded;
|
||||
finally
|
||||
AEditor := NIL;
|
||||
end;
|
||||
Contactos := AContactos;
|
||||
Controller := Self;
|
||||
MultiSelect := True;
|
||||
ShowEmbedded;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
@ -448,14 +448,10 @@ begin
|
||||
if Assigned(AEditor) then
|
||||
with AEditor do
|
||||
begin
|
||||
try
|
||||
Contactos := AContactos;
|
||||
Controller := Self;
|
||||
MultiSelect := True;
|
||||
ShowEmbedded;
|
||||
finally
|
||||
AEditor := NIL;
|
||||
end;
|
||||
Contactos := AContactos;
|
||||
Controller := Self;
|
||||
MultiSelect := True;
|
||||
ShowEmbedded;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
@ -618,14 +618,10 @@ begin
|
||||
if Assigned(AEditor) then
|
||||
with AEditor do
|
||||
begin
|
||||
try
|
||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
||||
Facturas := AFacturas;
|
||||
MultiSelect := True;
|
||||
ShowEmbedded;
|
||||
finally
|
||||
AEditor := Nil;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
Binary file not shown.
@ -585,15 +585,11 @@ begin
|
||||
if Assigned(AEditor) then
|
||||
with AEditor do
|
||||
begin
|
||||
try
|
||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
||||
TipoInventario := pTipoInventario;
|
||||
Inventario := AInventario;
|
||||
MultiSelect := False;
|
||||
ShowEmbedded;
|
||||
finally
|
||||
AEditor := NIL;
|
||||
end;
|
||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
||||
TipoInventario := pTipoInventario;
|
||||
Inventario := AInventario;
|
||||
MultiSelect := False;
|
||||
ShowEmbedded;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
@ -416,13 +416,9 @@ begin
|
||||
if Assigned(AEditor) then
|
||||
with AEditor do
|
||||
begin
|
||||
try
|
||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
||||
Obras := AObras;
|
||||
ShowEmbedded;
|
||||
finally
|
||||
AEditor := NIL;
|
||||
end;
|
||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
||||
Obras := AObras;
|
||||
ShowEmbedded;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
@ -257,14 +257,10 @@ begin
|
||||
if Assigned(AEditor) then
|
||||
with (AEditor as IEditorRemesasCliente) do
|
||||
begin
|
||||
try
|
||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
||||
RemesasCliente := ARemesasCliente;
|
||||
MultiSelect := True;
|
||||
ShowEmbedded;
|
||||
finally
|
||||
AEditor := NIL;
|
||||
end;
|
||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
||||
RemesasCliente := ARemesasCliente;
|
||||
MultiSelect := True;
|
||||
ShowEmbedded;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
@ -256,14 +256,10 @@ begin
|
||||
if Assigned(AEditor) then
|
||||
with (AEditor as IEditorRemesasProveedor) do
|
||||
begin
|
||||
try
|
||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
||||
RemesasProveedor := ARemesasProveedor;
|
||||
MultiSelect := True;
|
||||
ShowEmbedded;
|
||||
finally
|
||||
AEditor := Nil;
|
||||
end;
|
||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
||||
RemesasProveedor := ARemesasProveedor;
|
||||
MultiSelect := True;
|
||||
ShowEmbedded;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user