User-resizeable rectangle

TeeChart for ActiveX, COM and ASP
Post Reply
Amol
Advanced
Posts: 176
Joined: Mon May 29, 2006 12:00 am

User-resizeable rectangle

Post by Amol » Fri Nov 23, 2012 4:16 pm

Hi

I need to display a rectangle which the user can then resize by dragging. Almost like how the zoom rectangle is resized - the difference being that it will already start at a decent size.

The shape of a rectangle needs to be maintained throughout the resizing.

I have tried to use a rectangle shape series and use the dragpoint tool on it. It almost works but the dragging is limited to one side or one corner. I would like it to work on all sides and corners of the rectangle.

I would like to know how this can be done.

Thanks in advance.

Yours Sincerely
Amol

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

Re: User-resizeable rectangle

Post by Yeray » Mon Nov 26, 2012 3:33 pm

Hi Amol,

I'd use the Rectangle tool. It allows drag&resize directly by default.
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