View Issue Details

IDProjectCategoryView StatusLast Update
0006514JEDI VCL00 JVCL Componentspublic2016-08-04 17:59
ReporterkqhaAssigned ToAHUser 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.48 
Target VersionFixed in Version 
Summary0006514: Change TJvRichEdit.Alignment at runtime does not work
DescriptionThe summary pretty much describe the bug. To reproduce it, one can follow:
1. Put a TJvRichEditand a simple button on a form.
2. The onclick event of the button set to JvRichEdit1.Alignment := taRightJustify; (as the default is taLeftJustify)
3. Run the project
4. Type something into the richedit
5. Click the button, and the alignment wont change unlike any other memo/edit components do
Additional InformationBorland Delphi XE7
JVCL 3.48
Windows 10
TagsNo tags attached.

Activities

AHUser

2016-08-04 17:59

developer   ~0021326

The RichEdit.Alignment is only used by the RichEdit Windows control for the initial alignment. If you want to change the alignment of the current paragraph, you have to use

    JvRichEdit1.Paragraph.Alignment := paRightJustify;

Issue History

Date Modified Username Field Change
2016-05-26 11:04 kqha New Issue
2016-08-04 17:59 AHUser Note Added: 0021326
2016-08-04 17:59 AHUser Status new => resolved
2016-08-04 17:59 AHUser Resolution open => fixed
2016-08-04 17:59 AHUser Assigned To => AHUser