Allowdrag in Tchart as property in tools.subchart

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
senbengtma
Newbie
Newbie
Posts: 15
Joined: Tue Nov 09, 2021 12:00 am

Allowdrag in Tchart as property in tools.subchart

Post by senbengtma » Wed May 10, 2023 2:55 pm

in tools.subchart I can find in the gui "allowdrag" checkbox , but I cant find this for a main chart in a Tform?

Is there a similar property in object inspector or how to do? ( I have unchecked Anchor etd)

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Allowdrag in Tchart as property in tools.subchart

Post by Yeray » Tue May 16, 2023 12:48 pm

Hello,

Indeed, AllowDrag and AllowResize are properties in TSubChart class, not in TChart class.
TSubChart_properties.png
TSubChart_properties.png (8.13 KiB) Viewed 15863 times
The TChart can be positioned as a regular TControl. If you leave the Align property set to alNone as per default, then you can position it using Left and Top properties, and size it with Width and Height properties.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply