|Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread|
|Messages 1 to 2 of 2 total|
|Wed, Mar 23 2016 7:15 AM||Permanent Link|
I think I'd like to have a label text rotated - is this possible?
I essentially want the label to be tipped over backwards, so LABEL is
Only with the letters on their backs. (90 degrees anti-clockwise).
I think at the moment I can do this easily in a TPaint, but just in
case I missed something...
(This is for a sort of vertical tab set, but more complex than just
|Wed, Mar 23 2016 2:50 PM||Permanent Link|
Tim Young [Elevate Software]
Elevate Software, Inc.
<< I think I'd like to have a label text rotated - is this possible? >>
Yes, but not at design-time, and you'll need to create your own TLabel descendant control in order to implement this behavior.
The way to set the rotation is specified in this method in the WebUI unit:
procedure TElement.RotationHandler(ACurrentTime: Double);
You'll need to extract it out of there and set it at run-time in your control as your new "Rotation" property changes.
I'll see about making it a common UI property (it will still be run-time only, but it will make it easier to use).
This web page was last updated on
Saturday, June 3, 2023 at 10:17 AM
© 2023 Elevate Software, Inc. All Rights Reserved
Questions or comments ? E-mail us at email@example.com