![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder Components » View Thread |
Messages 1 to 3 of 3 total |
![]() |
Tue, Oct 13 2015 7:05 AM | Permanent Link |
Matthew Jones | I think a right-aligned version of the TCheckBox, perhaps
TRightCheckBox, would be a good addition. Display would be like: Enable action: [x] This is particularly good for display of info - my current case I have text items like: Last data: Today, 3pm and I want the visual check, but it looks wrong on the left for this purpose. Just a thought. Matthew |
Tue, Oct 13 2015 7:32 AM | Permanent Link |
Christian Kaufmann | > I think a right-aligned version of the TCheckBox, perhaps
> TRightCheckBox, would be a good addition. Display would be like: Good idea. Or it could be like in Delphi: New property Alignment:TLeftRight for the regular checkbox. I think this could be done quite easy by changing the Layout for the Icon element. As far as I understand interfaces I would try like this: TMyCheckBox = class(TStateButtonControl) protected function CreateInterfaceElements; override; end; The only thing I don't see without testing is how to access the FIconElement and the FCaptionElement in order to change their Layout properties. cu Christian |
Tue, Oct 13 2015 11:25 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Christian,
<< As far as I understand interfaces I would try like this: TMyCheckBox = class(TStateButtonControl) protected function CreateInterfaceElements; override; end; >> No, don't use that method. I'll try to work up an example of how to do this, which means that I'll probably just modify the existing check box control. ![]() << The only thing I don't see without testing is how to access the FIconElement and the FCaptionElement in order to change their Layout properties. >> That's where things get a little difficult, because they aren't exposed anywhere. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Friday, July 11, 2025 at 10:48 PM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |