Hello,
I want to use rvRuler1.Tabs[FTabNr].Align := taDecimalAlign
(FTabNr look at RVRuler1RulerItemSelec).
{
I have set toAdvancedTabs true in TabSettings.Options.
procedure TForm1.RVRuler1RulerItemSelect(Sender: TObject; X: Integer);
var i: Integer;
begin
FTabNr := -1;
for i := 0 to rvRuler1.Tabs.Count - 1 do
if NearBy(rvRuler1.Tabs.Left, X, 4) then FTabNr := i;
end;
}
I expected that decimal-numbers are written in this way (dot under dot):
1.23 //I have tried 1,23 too
12.34
123.54
But in rve-memo decimal-numbers are written in this way (taLeftAlign):
1.23
12.34
123.54
What's wrong ?
Best regards
Jürgen
PS: In Peter's Demo 'unit uSimpleDemo' taDecimalAlign also doesn't work. taDecimalAlign changes to taLeftAlign.
Ruler - taDecimalAlign
-
- Site Admin
- Posts: 17530
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 42
- Joined: Sat Oct 08, 2005 3:56 pm
- Location: The Netherlands
- Contact:
That demo is using Delphi's (read Windows) standard TRichEdit v1.0 this one does not support it and that's why it is off by default.PS: In Peter's Demo 'unit uSimpleDemo' taDecimalAlign also doesn't work. taDecimalAlign changes to taLeftAlign.
Maybe it would have been better to not show this option in the OI
-
- Posts: 16
- Joined: Tue Nov 10, 2009 7:27 pm
-
- Site Admin
- Posts: 17530
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: