Que tal gente, tengo 2 RadioButton (Guaranies y Dólares) y estoy intentando cambiar el formato de moneda de un FormattedNumberEdit al hacer Click en uno de los radios pero no me funciona. Al seleccionar Guaraníes haría lo siguiente:
Código Delphi
[-]
procedure Tform1.rdbGuaraniesClick(Sender: TObject);
begin
txtTotal.FormattedInput.CurrencySign := 'Gs.';
txtTotal.DecimalPrecision := 0;
end;
y para Dólares:
Código Delphi
[-]
procedure Tform1.rdbDolaresClick(Sender: TObject);
begin
txtTotal.FormattedInput.CurrencySign := 'USD';
txtTotal.DecimalPrecision := 2;
end;
Pero no me ejecuta nada.
Espero sus ayudas,
Gracias !!