Does anyone know how to do this just i have a piece of text in a rich edit which is in centre aligned but now i want it changed to be aligned to the right for the next bit of text????

Any help will be Appreciated

Does anyone know how to do this just i have a piece of text in a rich edit which is in centre aligned but now i want it changed to be aligned to the right for the next bit of text????

sheady, take a look at this sample at Torry's Delphi Pages - there is two ways - the first is more simple.

Rich reference - msdn

Bye