Jump to content

Recommended Posts

  • 1 year later...
  • 1 year later...
Posted

Estou com o mesmo problema minha aplicação esta em um servidor americano, mas necessito mostrar o valor formatado para o Brasil, sem ter que ajustar a maquina

  • 1 year later...
Posted

Hi.

 

I'm trying to use DefaultFloatFormat but nothing changes when display data in the grid.

 

I have dynamic columns, not columns created in design time.

 

Could be this the reason?

 

Thanks.

Posted

ok.

 

How?

 

In vcl apps I do this in teh ondrawdatacell event of the grid, but with unigui, I don't knw how todo.

 

Any sample, please?

 

Thanks.

  • 2 months later...
  • 3 weeks later...
Posted

Hi.

 

I'm trying this, as I do in vcl apps, with no success.

 

In the on draw column cell of the grid:

 

   if column.field.DataType = ftfloat then
      TFloatField(column.field).DisplayFormat := ',0.0000';

 

 

The only difference, is that in vcl, I put this code in the grid drawdatacell event.

 

some help with this?

 

thanks.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...