This commit is contained in:
roberto 2007-09-07 09:30:26 +00:00
parent 92fc56b371
commit df7d977014
9 changed files with 8275 additions and 17737 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -140,12 +140,6 @@ inherited frViewAlbaranCliente: TfrViewAlbaranCliente
Left = 268
ExplicitLeft = 268
end
inherited Button1: TBitBtn
OnClick = frViewClienteAlbaranButton1Click
end
inherited Button2: TBitBtn
OnClick = frViewClienteAlbaranButton2Click
end
inherited Button3: TBitBtn
Left = 158
ExplicitLeft = 158
@ -160,6 +154,9 @@ inherited frViewAlbaranCliente: TfrViewAlbaranCliente
inherited actElegirContacto: TAction
OnUpdate = frViewClienteAlbaranactElegirContactoUpdate
end
inherited actAnadirContacto: TAction
OnUpdate = frViewClienteAlbaranactAnadirContactoUpdate
end
end
inherited PngImageList: TPngImageList
Top = 65528

View File

@ -114,6 +114,7 @@ type
procedure actVerPedidoCliUpdate(Sender: TObject);
procedure frViewClienteAlbaranButton1Click(Sender: TObject);
procedure frViewClienteAlbaranButton2Click(Sender: TObject);
procedure frViewClienteAlbaranactAnadirContactoUpdate(Sender: TObject);
protected
FAlbaran : IBizAlbaranCliente;
@ -306,6 +307,12 @@ begin
end;
end;
procedure TfrViewAlbaranCliente.frViewClienteAlbaranactAnadirContactoUpdate(Sender: TObject);
begin
if (Sender as TAction).Enabled then
(Sender as TAction).Enabled := not Assigned(FPedidoAsociado);
end;
procedure TfrViewAlbaranCliente.frViewClienteAlbaranactElegirContactoUpdate(Sender: TObject);
begin
if (Sender as TAction).Enabled then