Jump to content


Photo

Html syntax


  • Please log in to reply
3 replies to this topic

#1 Andrea Lai

Andrea Lai
  • Members
  • 17 posts

Posted 16 June 2011 - 08:33 PM

Hi,
I have the necessity to create a Html column that must have the text align to the right.
In the html column I must write this value in html format :

MyGrid1.Cell[1, MyGrid1.LastAddedRow].AsString := '4,50<br><font color="red">-0,08</font>';

In the column I have set Alignment=taRightJustify but the column is always aligned to the left.
There is a way to make this ?

Thanks.

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 16 June 2011 - 11:06 PM

Hello Andrea,

Unfortunately Alignment don't work with Html Column. I have in plan to add a <p> or <span> tag for control this inside a html code.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 Andrea Lai

Andrea Lai
  • Members
  • 17 posts

Posted 17 June 2011 - 10:32 AM

Hi Boki,
when you think you can have it available ?
For me is very urgent !!!!!

Thanks.

#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 17 June 2011 - 02:56 PM

Hello Andrea,

Unfortunately, I don't know. It is a quite complicated operation but I will like to have it as feature.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users