Graph Sizing

TeeChart for ActiveX, COM and ASP
Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Graph Sizing

Post by Yeray » Tue Dec 29, 2009 3:27 pm

Hi David,

In the help it is shown the signature that corresponds to the VCL version, where the wrapped ActiveX version comes from:

Code: Select all

procedure ChartRect(Left, Top, Right, Bottom: Integer);
Note that in the same help file page, in the example bellow that signature, it is shown how the method should be used, without brackets (with brackets VB6 expects to obtain a result after the method call).
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

DJ200
Newbie
Newbie
Posts: 39
Joined: Thu Feb 28, 2008 12:00 am

Re: Graph Sizing

Post by DJ200 » Tue Dec 29, 2009 4:27 pm

Hello Yeray

Thank you for that explanation. Yes indeed, lower down the page it does show the usage as you describe.

Still not sure why when used with Active Reports the .Align does not show in the properties.

Best wishes


David

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

Re: Graph Sizing

Post by Yeray » Fri Jan 08, 2010 11:52 am

Hi David,

We've found that the Align property (and probably others too) could appear or not depending on the form base from where it comes. Anyway you could also use left, top, 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

DJ200
Newbie
Newbie
Posts: 39
Joined: Thu Feb 28, 2008 12:00 am

Re: Graph Sizing

Post by DJ200 » Fri Jan 08, 2010 11:59 am

Thanks Yeray

Yes, I use other methods for the odd property that is not available, so it is not really a big deal. There are other properties that sometimes go missing, but I can't think of one just off-hand

Thank you
I hope that you and the Steema team have a very prosperous New Year!

Best regards

David

Post Reply