Jump to content


Photo

leftAlign and rightAlign mixed in same column


  • Please log in to reply
4 replies to this topic

#1 user22

user22
  • Members
  • 192 posts
  • Gender:Male
  • Location:Linz / Austria

Posted 23 April 2014 - 08:09 PM

Hello Boki,

i have numbers and text in the same column, now i want numbers right aligned and text left aligned in the same column.
How can i do this?

thanks,
Helmut

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 25 April 2014 - 05:40 AM

Hello Helmut,

Just write other user to theme about progress column. What do you think also for OnPreparePaint event which will occur just in time before drawing occur. In this event you will be able to set Alignment (or other property) for specific cell (after reading ACol and ARow) and cell will be painted with this settings.

I may add it easily.
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 user22

user22
  • Members
  • 192 posts
  • Gender:Male
  • Location:Linz / Austria

Posted 25 April 2014 - 09:52 AM

Hello Boki,

this would be a very good solution, i think. So i vote for new OnPreparePaint event :-)

thank you,
Helmut

#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 25 April 2014 - 06:16 PM

Hi,

I will add it then. It will be called OnBeforePaint (maybe I will add OnAfterPaint event later).

It will be in both v5 and v6 too.
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.

#5 user22

user22
  • Members
  • 192 posts
  • Gender:Male
  • Location:Linz / Austria

Posted 26 April 2014 - 05:56 PM

Hi Boki,

thank you very much :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users