AllowPanning = pmNone

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
BE
Newbie
Newbie
Posts: 41
Joined: Tue Nov 16, 2004 5:00 am

AllowPanning = pmNone

Post by BE » Fri Jan 26, 2007 12:58 am

Hi,

I'm moving up from BCB 6 to BDS2006. I have TChart Pro V7.07. When I compile in BDS with Chart->AllowPanning = pmNone, I get Error: Ambiguity between pmNone and Forms::pmNone. I can not figure out what I need to add in front of pmNone to avoid the error.

Thans

-Bill

Pep
Site Admin
Site Admin
Posts: 3299
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Jan 30, 2007 6:14 pm

Hi Bill,

a solution could be to do this :
Chart1->AllowPanning = TPanningMode(0); // pmNone

Post Reply