Discussions
Sign In
•
Register
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In with LMD account
Sign In with LMD account
Categories
Recent Discussions
Categories
All Categories
1.1K
NG Controls
28
Announcements
60
LMD IDE-Tools
208
LMD ElPack
373
LMD-Tools
414
Feature Requests
38
In this Discussion
Rafael Maricca (LMD)
May 2013
TElCalculatorEdit + Decimal Places
Mitch
May 2013
edited May 2013
in
LMD ElPack
Vote Up
0
Vote Down
I'm a bit unclear as to how to change the number of displayed decimals in a TElCalculatorEdit. The one property that seems appropriate, Precision, is protected not published.
Thanks,
Mitch
Comments
2 Comments
sorted by
Votes
Date Added
Rafael Maricca (LMD)
May 2013
Posts: 0
Vote Up
0
Vote Down
This property is
intentionally
declared protected. As usually you can simply subclass
TElCalculatorEdit, though.
(s.th. like
type
TMyHackCalculatorEdit = class(
TElCalculatorEdit)
public
property Precision;
end;
Now you can write in code:
TMyHackCalculatorEdit(InstanceCalculatoredit).Precision := MyValue;
)
Sign In
or
Register
to comment.
Comments