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
|
if Assigned(AEditor) then
|
||||||
with AEditor do
|
with AEditor do
|
||||||
begin
|
begin
|
||||||
try
|
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
||||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
Almacenes := AAlmacenes;
|
||||||
Almacenes := AAlmacenes;
|
ShowEmbedded;
|
||||||
ShowEmbedded;
|
|
||||||
finally
|
|
||||||
AEditor := NIL;
|
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -487,12 +487,8 @@ begin
|
|||||||
if Assigned(AEditor) then
|
if Assigned(AEditor) then
|
||||||
with (AEditor as IEditorArticulos) do
|
with (AEditor as IEditorArticulos) do
|
||||||
begin
|
begin
|
||||||
try
|
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
||||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
ShowEmbedded;
|
||||||
ShowEmbedded;
|
|
||||||
finally
|
|
||||||
AEditor := Nil;
|
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -498,14 +498,10 @@ begin
|
|||||||
if Assigned(AEditor) then
|
if Assigned(AEditor) then
|
||||||
with AEditor do
|
with AEditor do
|
||||||
begin
|
begin
|
||||||
try
|
Contactos := AContactos;
|
||||||
Contactos := AContactos;
|
Controller := Self;
|
||||||
Controller := Self;
|
MultiSelect := True;
|
||||||
MultiSelect := True;
|
ShowEmbedded;
|
||||||
ShowEmbedded;
|
|
||||||
finally
|
|
||||||
AEditor := NIL;
|
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -292,14 +292,10 @@ begin
|
|||||||
if Assigned(AEditor) then
|
if Assigned(AEditor) then
|
||||||
with AEditor do
|
with AEditor do
|
||||||
begin
|
begin
|
||||||
try
|
Contactos := AContactos;
|
||||||
Contactos := AContactos;
|
Controller := Self;
|
||||||
Controller := Self;
|
MultiSelect := True;
|
||||||
MultiSelect := True;
|
ShowEmbedded;
|
||||||
ShowEmbedded;
|
|
||||||
finally
|
|
||||||
AEditor := NIL;
|
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -448,14 +448,10 @@ begin
|
|||||||
if Assigned(AEditor) then
|
if Assigned(AEditor) then
|
||||||
with AEditor do
|
with AEditor do
|
||||||
begin
|
begin
|
||||||
try
|
Contactos := AContactos;
|
||||||
Contactos := AContactos;
|
Controller := Self;
|
||||||
Controller := Self;
|
MultiSelect := True;
|
||||||
MultiSelect := True;
|
ShowEmbedded;
|
||||||
ShowEmbedded;
|
|
||||||
finally
|
|
||||||
AEditor := NIL;
|
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -618,14 +618,10 @@ begin
|
|||||||
if Assigned(AEditor) then
|
if Assigned(AEditor) then
|
||||||
with AEditor do
|
with AEditor do
|
||||||
begin
|
begin
|
||||||
try
|
|
||||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
||||||
Facturas := AFacturas;
|
Facturas := AFacturas;
|
||||||
MultiSelect := True;
|
MultiSelect := True;
|
||||||
ShowEmbedded;
|
ShowEmbedded;
|
||||||
finally
|
|
||||||
AEditor := Nil;
|
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@ -585,15 +585,11 @@ begin
|
|||||||
if Assigned(AEditor) then
|
if Assigned(AEditor) then
|
||||||
with AEditor do
|
with AEditor do
|
||||||
begin
|
begin
|
||||||
try
|
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
||||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
TipoInventario := pTipoInventario;
|
||||||
TipoInventario := pTipoInventario;
|
Inventario := AInventario;
|
||||||
Inventario := AInventario;
|
MultiSelect := False;
|
||||||
MultiSelect := False;
|
ShowEmbedded;
|
||||||
ShowEmbedded;
|
|
||||||
finally
|
|
||||||
AEditor := NIL;
|
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -416,13 +416,9 @@ begin
|
|||||||
if Assigned(AEditor) then
|
if Assigned(AEditor) then
|
||||||
with AEditor do
|
with AEditor do
|
||||||
begin
|
begin
|
||||||
try
|
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
||||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
Obras := AObras;
|
||||||
Obras := AObras;
|
ShowEmbedded;
|
||||||
ShowEmbedded;
|
|
||||||
finally
|
|
||||||
AEditor := NIL;
|
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -257,14 +257,10 @@ begin
|
|||||||
if Assigned(AEditor) then
|
if Assigned(AEditor) then
|
||||||
with (AEditor as IEditorRemesasCliente) do
|
with (AEditor as IEditorRemesasCliente) do
|
||||||
begin
|
begin
|
||||||
try
|
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
||||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
RemesasCliente := ARemesasCliente;
|
||||||
RemesasCliente := ARemesasCliente;
|
MultiSelect := True;
|
||||||
MultiSelect := True;
|
ShowEmbedded;
|
||||||
ShowEmbedded;
|
|
||||||
finally
|
|
||||||
AEditor := NIL;
|
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -256,14 +256,10 @@ begin
|
|||||||
if Assigned(AEditor) then
|
if Assigned(AEditor) then
|
||||||
with (AEditor as IEditorRemesasProveedor) do
|
with (AEditor as IEditorRemesasProveedor) do
|
||||||
begin
|
begin
|
||||||
try
|
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
||||||
Controller := Self; //OJO ORDEN MUY IMPORTANTE
|
RemesasProveedor := ARemesasProveedor;
|
||||||
RemesasProveedor := ARemesasProveedor;
|
MultiSelect := True;
|
||||||
MultiSelect := True;
|
ShowEmbedded;
|
||||||
ShowEmbedded;
|
|
||||||
finally
|
|
||||||
AEditor := Nil;
|
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user